Is OCF related to loading applet into the sim

I've read some text about OCF(Open Card Framework) it is said that it is an interface to both smart card reader and applications on the sim. if we take "the application on the sim" same as "Installer Applet" then the ocf stands in the place which the problem of loading applet exists.
could you please explain:
Can I use OCF for witing a programm to load my applet into card?
Is There any other way to do the task??

If it is a GlobalPlatform card, there are some simple steps to validate if your card is locked/terminated
1. send GET DATA on some tag you know for sure is in the data store of the CardManager
2. If this works, try to authenticate (INIT-UPD, EXT-AUTH)
3. If this works, GET STATUS on ISD --> AID and life cycle of the CM
- If 1. does not work, then your default select application is not the ISD --> contact the issuer for the AID
- If 2. does not work, then your card is locked or terminated
- If 3. does not work, then the GP secure channel protocol on-card has a different implementation than your off-card tool/API (most likely with a Gemalto card)

Similar Messages

  • Problem in loading applet into java card.

    Hi all,
    I have developed an applet using java card development kit 2.2.2 and JDK1.5. The cap file is generated successfully. Am using gpshell to load applet into the card but am getting an error saying "Error : load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)" . Can anyone please tell me where am wrong. My install file contains :
    mode_211
    enable_trace
    establish_context
    card_connect
    select -AID a0000000030000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    delete -AID a00000006203010c0101
    delete -AID a00000006203010c01
    delete -AID a00000006203010c0101
    install -file wallet.cap -nvCodeLimit 28500 -nvDataLimit 28500 -instParam 00 -priv 2
    card_disconnect
    release_context
    and when i execute gpshell install.txt, i get error like :
    mode_211
    enable_trace
    establish_context
    card_connect
    select -AID a0000000030000
    Command --> 00A4040007A0000000030000
    Wrapped command --> 00A4040007A0000000030000
    Response <-- 6F658408A000000003000000A5599F6501FF9F6E06405163452900734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
    Command --> 8050000008F156D9048BF4FB6800
    Wrapped command --> 8050000008F156D9048BF4FB6800
    Response <-- 00008247040433914208FF020052DF76EF50F6457F4F16E031638B009000
    Command --> 84820100109D59E7CE033B4A5B70115EB7CA3F523C
    Wrapped command --> 84820100109D59E7CE033B4A5B70115EB7CA3F523C
    Response <-- 9000
    delete -AID a00000006203010c0101
    Command --> 80E400800C4F0AA00000006203010C010100
    Wrapped command --> 84E40080144F0AA00000006203010C01011C9450FF5E3DCB3800
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID a00000006203010c01
    Command --> 80E400800B4F09A00000006203010C0100
    Wrapped command --> 84E40080134F09A00000006203010C013421B120E65613F100
    Response <-- 009000
    delete -AID a00000006203010c0101
    Command --> 80E400800C4F0AA00000006203010C010100
    Wrapped command --> 84E40080144F0AA00000006203010C010136D28BC08D59D9FA00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    install -file wallet.cap -nvCodeLimit 28500 -nvDataLimit 28500 -instParam 00 -priv 2
    Command --> 80E602002009A00000006203010C0608A000000003000000000AEF08C6026F60C7026F540000
    Wrapped command --> 84E602002809A00000006203010C0608A000000003000000000AEF08C6026F60C7026F54005A411C50F04D651900
    Response <-- 009000
    Command --> 80E80000EFC48203BD010013DECAFFED010202000109A00000006203010C0602001F0013001F000000150062001201CB000A003C000700D600000000000002000004001502030107A0000000620101000107A000000062000106001200800302000104040000005CFFFF004F00640701CB000543188C0003188F00133D0610088C00028700191E2529041E160441044131191E2529051E160541044131191E252906AD00191E044116068B0004188B00057A05308F00063D181D1E8C00073B7A0110AD008B00086104037804780110AD008B00097A0221198B000A2D198B000B60101A042510A46B037A116E008D000C1A032510
    Wrapped command --> 84E80000F7C48203BD010013DECAFFED010202000109A00000006203010C0602001F0013001F000000150062001201CB000A003C000700D600000000000002000004001502030107A0000000620101000107A000000062000106001200800302000104040000005CFFFF004F00640701CB000543188C0003188F00133D0610088C00028700191E2529041E160441044131191E2529051E160541044131191E252906AD00191E044116068B0004188B00057A05308F00063D181D1E8C00073B7A0110AD008B00086104037804780110AD008B00097A0221198B000A2D198B000B60101A042510A46B037A116E008D000C1A032510CCBBB987BED1F686
    Response <-- 6A80
    load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)
    Thanks in advance

    Hi all,
    Sorry above i forgot to mention the java card am using. It is JCOP21 and in its datasheet its mentioned that it specification needed are javacard development kit 2.2.1, is that may be the reason for this error?
    Thanks in advance

  • How do you load products into the catalog?

    Instead of using the automatic or manual load processes by hand for the product catalog, we would like to have a batch program written where it will automatically load products into the specific levels of the catalog.  Does anyone know if there is a standard program in CRM to accomplish this?
    Thanks,
    Darcie

    Hi Darcie,
    No, as far as I know there's no load standard load program for CRM product catalog data. We're on v4.0, so I can't say what's been added in later releases.
    Anyway, if you write your own, have a look at package COM_PRDCAT_WEB_API which contains lots of goodie function modules you can use to manipulate product catalog data.
    Dont forget
    CALL FUNCTION 'COM_PRDCAT_TRANSACTION_BEGIN'
    at the start and
    CALL FUNCTION 'COM_PRDCAT_TRANSACTION_COMMIT'
    at the end.
    There's also package COM_PRDCAT, but when we tried to do stuff with FMs in this package we ran into errors since some global variables were undefined.
    Hope this helps.
    Regards,
    Rasmus

  • Errors "Load tModels into the registry" option & publishing proxy services

    Hi,
    I'm making a study with BEA Aqualogic Service Bus and BEA Aqualogic Service Registry.
    Reading official documentation (Console Help), I added with the BEA ALSB Console two registries. But during the configuration it doesn't allow me to set the *"Load tModels into the registry"* option, in fact when I click "Save" I get this error:
    *"Permission to generate key uddi:bea.com:servicebus:servicetype denied".*
    However I added two registries without setting this option.
    Now, when I want to publish a proxy service (in any registry), following the official procedure, I get this error:
    *"The publish completed with error. One or more services can't be published correctly, please see the detailed error messages in the summary table".*
    *"CannotCreate The key uddi:bea.com:servicebus:properties does not represent a valid taxonomy!"*
    I don't think it's all right! :)
    Someone can help me?

    Thank you for your help (even though you didn't know you were helping). I am also studying ALSB and ALSR, and I had the same problem when I tried to publish a proxy service ("... does not represent a valid taxonomy"). Based on your experience, I updated my registry in ALSB and checked "Load tModels". This was successful. I then published my proxy service and this too was successful.
    So the help you've given me was to suggest that publishing proxy services cannot be done unless the BEA tModels are first loaded into the registry.
    This means that your real problem is that you can't load the tModels. To do this, I suggest that the user ID you give when you're setting up the registry in ALSB must be an administrative user. When you installed the ALSR, an administrative account was created. Try giving this account information to the ALSB.
    If you don't want to give the administrative ID and password, you must set up an account in ALSR that has the ability to create tModels. In the ALSR's console page (probably at http://localhost:7001/registry/uddi/web), look at the administrative account's permissions (you'll find it on the "Manage" tab, under "Permissions"--you won't see the "Manage" tab unless you log in as an administrator). In my system, the administrator account has four permissions; I would guess that the one you need is "org.systinet.uddi.security.permission.ConfigurationManagerPermission".

  • What can I do to get back to a point that I can directly purchase Apps from my itouch via wi-fi. I was able to before I purchased an app on my PC and loaded it into the device via the sync cable.

    What can I do to get back to a point that I can directly purchase Apps from my itouch via wi-fi. I was able to before I purchased an app on my PC and loaded it into the device via the sync cable. My itouch 2G was bought 2nd hand, so when trying to get Apple support I was unable to register my device because I didn't know it's original purchase date. Note: I am still able to download the apps to my computer and load/sync them into the device.

    Why can you not buy from the ipod?
    What happens when you try?
    Error message?
    What does it say?
    Any info?

  • Limitations of trial version 13? I cannot load pictures into the photomerge panorama window either from' browse' or 'add open files'.

    On Adobe's web site it states the trial version has all functionality.  FAQ, common questions & answers | Adobe Photoshop Elements 13 "These trial versions are fully functional, so every feature and aspect of the product is available for you to test-drive. Product trials can easily be converted for unrestricted use without the necessity to reinstall the software in most cases."
    However, I cannot load pictures into the photomerge panorama window either from' browse' or 'add open files'. When I select either way nothing happens.This happens if I enter panorama from photo editor and/or organizer.
    Can anybody enlighten me about this?
    Thanks,
    Barry

    It seems your Samba is denying access to these files & dirs. My best guess would be that either the Samba user is not allowed to write (and read) those (in which case you'd have to modify the permissions accordingly) or Samba sets, when the share is mounted, the permissions such that your user is not allowed to read and write (you may in this case try to just set permissions for you to allow you what you want to do; or use "create mask" or "directory mask" or "writable" in your samba config. ).
    Also, what do the logs say about this? According to your samba conf they are in /var/log/samba/%m.log where %m is the hostname or IP.

  • Steps for loading data into the infocube in BI7, with dso in between

    Dear All,
    I am loading data into the infocube in BI7, with dso in between. By data flow looks like....
    Top to bottom:
    InfoCube (Customized)
    Transformation
    DSO (Customized)
    Transformation
    DataSource (Customized).
    The mapping and everything else looks fine and data is also seen in the cube on the FULL Load.
    But due to some minor error (i guess), i am unable to see the DELTA data in DSO, although it is loaded in DataSource through process chains.
    Kindly advise me, where did i miss.
    OR .. Step by step instructions for loading data into the infocube in BI7, with dso in between would be really helpful.
    Regards,

    Hi,
    my first impulse would be to check if the DSO is set to "direct update". In this case there is no Delta possible, because the Change log is not maintained.
    My second thought would be to check the DTP moving data between the DSO and the target cube. If this is set to full, you will not get a delta. It is only possible to create one DTP. So if you created one in FULL mode you can't switch to Delta. Just create the DTP in Delta mode.
    Hope this helps.
    Kind regards,
    Jürgen

  • My ipod nano 6th gen. is connected to my MacBook.  I have an audio book on the MacBook in Itunes, and cannot load it into the Ipod.  What am I doing wrong?

    My ipod nano 6th gen. is connected to my MacBook.  I have an audio book on the MacBook in Itunes, and cannot load it into the Ipod.  What am I doing wrong?

    Is this audiobook configured to sync to your iPod via it's Books configuration pane in iTunes?  Click on your iPod's device name under Devices in the left hand pane of iTunes.  This will bring you to the Summary tab.  Look for the Books tab along the top and click on it.
    B-rock

  • Dynamically Loading .jar into the AppletClassLoader of Signed Applet

    First of all, I thank you for reading this post. I will do everything I can to be concise, as I know you have things to do. If you're really busy, I summarize my question at the bottom of this post.
    My goal:
    1.) User opens applet page. As quickly as possible, he sees the "accept certificate" dialog.
    2.) Applet gets OS vendor, and downloads native libraries (.dll for windows, etc.) and saves them in user.home/ my new dir: .taifDDR
    3.) Calls are made to System.load(the downloaded .dlls) to get the natives available.
    4.) Applet downloads the .jar files that we stripped so that the applet was smaller, one by one
    5.) For each .jar downloaded, it goes through the entries, decodes the .class files, and shoves them onto the AppletClassLoader.
    6.) Finally, the looping drawmation of the applet is linked to a subclass, that now has everything it needs to do what it wants.
    I have gotten all the way to step 5!!! It was amazing!
    But now I'm stuck on step 5. I can download the .jar files, read them, even decode the classes!
    As evidence, I had it print out random Methods using reflection on the created classes:
    public net.java.games.input.Component$Identifier net.java.games.input.AbstractComponent.getIdentifier()
    public final void net.java.games.input.AbstractController.setEventQueueSize(int)
    public java.lang.String net.java.games.input.Component$Identifier.toString()
    public final native void java.lang.Object.wait(long) throws java.lang.InterruptedException
    ... many many more So, its frustrating! I have the Class objects! But, whenever the applet begins to try to, say instantiate a new ControllerEnvironment (jinput library), it says ClassNotFoundException, because even though I made those Classes, they aren't linked to the system classLoader!
    Here is how I am loading the classes from the jar and attempting to shove them on the appletclassloader:
    ClassLoader load = null;
    try {
         load = new AllPermissionsClassLoader(new URL[]{new File(url).toURL()});
    } catch (MalformedURLException e2) {
         e2.printStackTrace();
    final JarFile ajar = new JarFile(url);
    ... we iterate over the elements (trust me, this part works)
    String name = entry.getName();
    if (name.endsWith(".class")) {
         name = name.substring(0, name.length() - 6);
         name = name.replace('/', '.');
              Class g = load.loadClass(name);
    public class AllPermissionsClassLoader extends URLClassLoader {
        public AllPermissionsClassLoader (URL[] urls) {
            super(urls);
        public AllPermissionsClassLoader (URL[] urls, ClassLoader parent) {
            super(urls, parent);
            System.out.println(parent);
        public AllPermissionsClassLoader (URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) {
            super(urls, parent, factory);
        protected PermissionCollection getPermissions (CodeSource codesource) {
            Permissions permissions = new Permissions();
            permissions.add(new AllPermission());
            return permissions;
    }so, my assumption here is that if I create a new AllPermissionsClassLoader and then call loadClass, the loaded class (because it does return a valid Class object) is usable globally across my applet. If this is not true, how should I else be doing this? Thank you for Any advice you could offer!

    I know it's two years ago but the OP's approach seems pointless to me.
    4.) Applet downloads the .jar files that we stripped so that the applet was smaller, one by oneWhy? Just name the JAR files in the CLASSPATH attribute of the <applet> tag. Then what you describe in (5) and (6) happens automatically on demand.
    protected PermissionCollection getPermissions (CodeSource codesource) {Who does he think is going to call that?

  • Load applet into JCOP 30

    hey,
    i have some troubles to load my applet into a JCOP 30, i use GPSell to load my applets, i've tried JCOP's scripts included in gphsell but i failed to load my applet, its probably due to the key of authentification. please, what can i do to ?

    this is a copy i get from output gpshell using JCOP10 script
    C:\gpshell2>gpshell InstallAp.txt
    mode_211
    enable_trace
    enable_timer
    establish_context
    command time: 94 ms
    card_connect
    command time: 31 ms
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F198408A000000003000000A50D9F6E064051235331169F6501FF9000
    command time: 78 ms
    open_sc -security 1 -keyind 0 -keyver 0 -key 404142434445464748494a4b4c4d4e4f -k
    eyDerivation visa2
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 6A86
    GP211_get_secure_channel_protocol_details() returns 0x80206A86 (6A86: Incorrect
    parameters (P1, P2).)
    HelloInstallJcop10
    mode_211
    enable_trace
    enable_timer
    establish_context
    card_connect
    select -AID a000000003000000
    open_sc -security 1 -keyind 0 -keyver 0 -key 404142434445464748494a4b4c4d4e4f -keyDerivation visa2
    delete -AID D0D1D2D3D4D50101
    delete -AID D0D1D2D3D4D501
    delete -AID D0D1D2D3D4D50101
    install -file helloworld.cap -instParam 00 -priv 02 -nvDataLimit 500
    #install_for_load -pkgAID D0D1D2D3D4D501
    #load -file helloworld.cap
    #install_for_install -instParam 00 -priv 02 -AID D0D1D2D3D4D50101 -pkgAID D0D1D2D3D4D501 -instAID D0D1D2D3D4D50101 -nvDataLimit 500
    card_disconnect
    release_context
    and this the ouput when i used helloInstallJCOP31
    C:\gpshell2>gpshell InstallAp.txt
    enable_trace
    establish_context
    mode_201
    enable_trace
    establish_context
    card_connect
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F198408A000000003000000A50D9F6E064051235331169F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f //Open secure channel
    Error: unknown option //Open
    helloInstallJCOP31:
    enable_trace
    establish_context
    mode_201
    enable_trace
    establish_context
    card_connect
    select -AID a000000003000000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f //Open secure channel
    delete -AID D0D1D2D3D4D50101
    delete -AID D0D1D2D3D4D501
    delete -AID D0D1D2D3D4D50101
    install -file helloworld.cap -sdAID a000000003000000 -priv 2
    card_disconnect
    release_context

  • Can not load data into the ods.

    When I was trying to load data into BW3.5 from R3 system, I am getting this message
    "For InfoSource ZSD_A507_011, there is no Hierarchies for master data in source system R3PCLNT300
    "  any idea.  There is no hierarchies for this.

    Hello Mat,
    What are you trying to load??
    If the data source is a hierarchy datasource??
    just check this thread
    There are no hierarchies for this InfoSource in source system
    Thanks
    Ajeet

  • Bulk load messages into the language repository?

    Hi,
    Our existing, pre-APEX, applications make use of a common table of 'messages' to provide multiple language support e.g. we have a lookup against message number and language to produce the required message.
    This seems very similar to the functionality supplied through the apex_lang message repository. Is there an easy way in which we can load a modified version of our current messages into the repository without having to enter them in manually?
    Thanks,
    Andy

    Arie Geller wrote:
    Hello Andy,
    >> I'm slightly(!) confused. Are you advocating using the wwv_flow_api.create_message API or manual entry? The link that you posted refers to the API as a method of message entry, I don't see a reference to exporting messages from an existing application?
    Let’s go back to the beginning. As I understood, you first asked whether you can use some existing translation tables, to automatically populate the APEX translation repository. My answer was ‘no’ and I don’t think Flavio suggestions contradict it.Understood, in 'my' head the ability to create a script that would pick up my existing messages and use the 'create_message' API to load them into APEX was close enough to automatic for me! My intention is that our first move from legacy to APEX messaging would be to do this to create the base messages, and that we would consider translation later... (In some cases, I could use our existing multi-language messages to produce both the primary language and the translated messages).
    Is my position more clear now? I hope so :)Thanks, much clearer, however the final step - once we have a set of base/primary and translated messages, how do we make use of them in a later application?

  • Making a loaded swf-file loading images into the movie..

    Trying to convert my problem from norwegian into english
    isn't always that easy... :)
    Anyway..
    I've created som cool buttons that I want to be loaded into a
    movie (let's call i MainMovie.swf) and from there I want the
    buttons to be able to load images into a movieclip (ImageContainer)
    inside the MainMovie.swf.
    Is it possible to make the MainMovie.swf communicate with the
    the loaded buttons (each button is a swf-file containing the
    actionscript, objects, etc.) so when the buttons are clicked they
    load different images into the ImageContainer?
    My idea here is to include an as.file into the MainMovie.swf
    as well containing the url's to the images that I want to be loaded
    into ImageContainer.
    I've tried to create a button on a layer above the buttons
    that's loaded into the MainMovie.swf but I end up with the loaded
    buttons not working properlu because of the button that I've
    created and placed above them.
    Now, I don't want the url's inside the buttons thats loaded
    into the MainMovie.swf as I want the ability to be able to replace
    those buttons-files without having to use too much time writing the
    url's in each button.
    Thanks folks.

    are all your swfs using as3 or as2? if as3, you won't be
    loading into a movieclip: you'll use a loader instance and you can
    reference (or communictae with) the loaded as3 objects using the
    content property of your loader once you cast it as a
    movieclip.

  • Loading sequences into the source window...

    Hi, does anyone know if I can load a sequence into the source window in Premiere Pro and then be able to type a specific timecode into the window and have the timecode indicator go to that frame of the sequence?  This is easily achievable in Avid and FCP but haven't been able to figure it out in Premiere.

    And once you're on the correct frame in the source monitor, you can match it in the Timeline using the Reverse Match Frame command.
    To use Reverse Match Frame, follow these steps:
    Ensure that you have a clip loaded in the Source monitor.
    In the Source Monitor, place the playhead on the frame that you want to find in the Timeline.
    Select Sequence > Reverse Time Frame, or use the keyboard shortcut Shift+R. Premiere Pro moves the playhead on the Timeline to that exact frame.

  • Loading Samples into the EXSP24

    how do i load my own sound files that i recorded (aiff) into the exsp24?

    there are a couple of third party apps that let you save EXS instruments.
    www.icedaudio.com
    this is somthing I use even though I have the full sampler.
    And its cheap.

Maybe you are looking for

  • Two Major Regressions from Photoshop 6.0 to CS3

    Hello, I'm trying to convert a multi-page PDF to individual GIF files, one per page, in Photoshop. Sounds pretty easy, but alas... I have Photoshop 6.0 running on an eight-year-old desktop running Windows XP with 512MB of RAM, and I have Photoshop CS

  • Itunes has separated my music by album and by artist

    how do I get albums all together? I have tried checking the "compilation" box but it has made no difference.

  • SharePoint 2013 Search Errors

    I'm working on a single server SharePoint 2013 Enterprise Server. The search service application was provisioned successfully. When I attempt to run a crawl on my content source, I'm receiving a few thousand instances of the following error in the cr

  • Exporting at smaller rate

    Imported my CD collection at a low data rate. Plan to redo the entire collection with the new Apple lossless encoder. HOWEVER... I then need to export to my older IPOD - second generation 20 gig... which doesn't support the new encoder at a lower rat

  • To check the problem in the scenario

    Hi experts, I am currnetly working in an enhancement of 2 ODS "ZCCA_O1A" and 'ZOPZ_O1A" to add one more text field EBELP. The infopackage used for loading the data in First ODS existing in production server involves one more ODS ZCCA_O1 and infopacka