Key for 3DES
Hi all
i'm new to java card.
i need to port a design using old secure chip that does not have a OS to a new chip that run JTOP.
After Java card receives the APDU command, the data need to be decrypted using 3DES.
How should i store these key during the card INITIALIZED phase?
should i use PUT_DATA or STORE DATA command?
Any advise?
Thanks.
shng wrote:
i need to port a design using old secure chip that does not have a OS to a new chip that run JTOP.
After Java card receives the APDU command, the data need to be decrypted using 3DES.
How should i store these key during the card INITIALIZED phase?
should i use PUT_DATA or STORE DATA command?You're probably talking about GlobalPlatform functionality. First advice is at least to look into the GP 2.1.1 card specification to get an overview. Then you should contact Trusted Labs to get a datasheet for the card you have.
Acc. to GP 2.1.1, PUT KEY and STORE DATA commands can be used to store security domain keys. PUT DATA command was supported in OP 2.0.1'.
Similar Messages
-
How to create a foreign key for the table from two different tables?
Hi All,
I have a three table like below. In the below table SAMPLE_CONS_CHECK and SAMPLE_CONS2_CHECK will be having the primary key for NAME column. The same SAMPLE_CONS3_CHECK table also having the primary key for NAME column and forieign key for SAMPLE_CONS_CHECK and SAMPLE_CONS2_CHECK tables. See the below code 2
code 1:
CREATE TABLE SAMPLE_CONS_CHECK
(NAME VARCHAR2(10),
SERIES VARCHAR2(5)
CREATE TABLE SAMPLE_CONS2_CHECK
(NAME VARCHAR2(5),
MODEL NUMBER
CREATE TABLE SAMPLE_CONS3_CHECK
(NAME VARCHAR2(5),
MODEL_NO NUMBER
)code 2
alter table SAMPLE_CONS_CHECK
add constraint SAMPLE_CONS_CHECK_pk primary key (NAME)
alter table SAMPLE_CONS2_CHECK
add constraint SAMPLE_CONS2_CHECK_pk primary key (NAME)
alter table SAMPLE_CONS3_CHECK
add constraint SAMPLE_CONS3_CHECK_pk primary key (NAME)
ALTER TABLE SAMPLE_CONS3_CHECK ADD
CONSTRAINT SAMPLE_CONS3_CHECK_FK1 FOREIGN KEY
NAME
) REFERENCES SAMPLE_CONS_CHECK
NAME
) ON DELETE CASCADE;
ALTER TABLE SAMPLE_CONS3_CHECK ADD
CONSTRAINT SAMPLE_CONS3_CHECK_FK2 FOREIGN KEY
NAME
) REFERENCES SAMPLE_CONS2_CHECK
NAME
) ON DELETE CASCADE;From the above schenario i am able to insert the data to SAMPLE_CONS3_CHECK table. But the parent data is already available in the parent table. The problem is here two different constarints from two different tables. While inserting, it is checking from both the tables whether the parent is exist or not.
How can i solve this problem? Can anyone halp me about this?
Thanks
Edited by: orasuriya on Aug 8, 2009 2:02 AMActually the design is completely incorrect.
What you say is
I have
'foo', 'foo series'
'foo','foo model'
'foo',666
By virtue of table3 referring to both table1 and table2.
This means you actually need to have 1 (one) table:
'foo','foo series','foo model', 666
And the 'problem' disappears.
Sybrand Bakker
Senior Oracle DBA -
Do We need access key for Additional Data B in VA01
Hi all,I have to add fields in Additional Data B,I have searched SDN about it and came to know that it is screen '8459' of program 'SAPMV45A',but it is asking key for that,is it safe applying access key for this screen?
Thanks in advance.>is it safe applying access key for this screen?
yes it is safe. SAP provided the screen 8459 only for adding our own custom fields to it. For this you need access key for the first time. along with that you need access key for
PBO include, PAI include
MV45AOZZ ,MV45AIZZ .
check it once. -
Changing Depreciation Key for Tax for closed fiscal years -
Hello,
Hoping someone can help me with this question - Is it possible to change the depreciation key for closed fiscal years - we need to change it for Tax - books. And if yes - does it mean we need to open closed fiscal years ??
Thank you,
RichaHi,
you will need to open the FI and AA periods. After changing the depreciation keys do the necessary dep run and close the books in the correct sequence.There should not be problem. -
Short key for copy does not work all the time now.
After I have installed the latest OSX - Yosemite, my short key for copy does not work all the time. It is infrequent how it works. I'm using the same keyboard that I have always used, my wireless logitech keyboard for mac. Please help.
I've plugged in my default mac keyboard and the short key copy still does not work.
-
By default, on a mac keyboard F3 lets you see all the open apps and the such. However, I changed it so that I use those keys for keyboard shortcuts; But i'd like the normal F3 key to still work without me having to press FN.
rajlego,
in the Keyboard pane of System Preferences, select the Shortcuts tab, and then select Mission Control on the left-hand side. On the right-hand side, make sure that the Mission Control checkbox is checked, double-click on its current key combination (by default “^↑”) so that the key combination is highlighted, and then press the F3 button — that will set its shortcut to be F3. You can now press F3 to bring up Mission Control without needing to also press the Fn button. -
How to genarate Primary Key for each record in XI Mapping
Hi,
I need to genarate primary key for each record in the paylod in mapping..
Eg: if i have a 10 reacords i need to have a primary key for each record..starting with the
Record Primary key
First 001
Secound 002
Tenth 010
If i need to write any user defined funtion... can any one provide the code for it.
Thanks
AmareshHi Bavesh,
I will explain with the example:
XML:
<Record 1>
<Primary key>
<value1>
<value2>
</Record 1>
<Record 2>
<Primary Key>
</Record 2>
like above i will be getting n number of recored and in each record i need to genarate primary key in XI.and the key sould be in sequence...
like for the first record 1 secound 2 like that primary key should add to the privous Primary key.
and this is for each payload.
Thanks
Amaresh -
Is it possible to create many primary key for a table?
hello sir/mam.
i am selva, i am new to abap,
is it possible to create many primary key for a table?
please guide me.Hi Selva,
Many Primary Keys = Composite Key.
i.e some set of columns will enable you to identify a unique row from a set of rows in the table.
This can be achieved by checking the primary key check box in se11.
Hope it helps.
Regards,
Maheswaran.B
Message was edited by: Maheswaran B -
How to create my own Key for Rijndael (JCE Criptix)?
I am developing a communication protocol and the key for encryption and decryption should be the user's password.
This method generates a new RANDOM key:
kg = KeyGenerator.getInstance("Rijndael");
kg.init(256);
k = kg.generateKey();
The problem is that I need to specify my own key (the password).
I'm tried: k = kg.generateKey(byte[] mykey), but don't work.
Any suggestion?
Thanks so much ...
Leonel.Interesting. Looks like neither the Sun Provider nor BouncyCastle allow you to generate SecretKeySpecs for Rijndael. Surprised me.
What you need is a Provider that gives you a SectretKeyFactory for Rijndael. A quick google on "rijndael secretkeyfactory" gave me this:
http://www.informatik.tu-darmstadt.de/TI/Forschung/cdcProvider/overview.html
and go here, specifically:
http://www.informatik.tu-darmstadt.de/TI/Forschung/cdcProvider/current/std/docs/api/cdc/standard/CDCStandardProvider.html
See if that'll work for you!
Grant -
How to create a connection key for an intranet
I'm trying to create a connection key for a client of ours to
update a page on their intranet. The intranet is only available
internally. How do I go about doing this?Hi
Please create the account keys or transaction keys in
SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
Thanks & Regards
Kishore -
How to create a account key for application type M ?
Hi Guys,
How to create a account key for application type M ? and link the same with
Gl account.
thanks.Hi
Please create the account keys or transaction keys in
SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
Thanks & Regards
Kishore -
can i install logic pro without cd ? , i have the key for the logic pro but my dvd driver of my mac doesnt work ?
Buy an external USB2 DVD/CD drive..... (Amazon's Basic model works great)
Or..
Borrow someone else's Mac that has a DVD drive fitted and use that via Remote Disk
Note:
There is no legal means of downloading available for Logic Pro 9.. unless you originally purchased it via the App Store..
Therefore, in your case, you must install from the DVDs you have... -
How do I find the key for my time capsule router
How do I find the key for my time capsule router
Hello, see if these are of any help...
http://www.iclarified.com/entry/index.php?enid=4547
http://manuals.info.apple.com/en/TimeCapsule_SetupGuide.pdf
If it's the Pre-Shared Key you're looking for, open Airport Utility, under the menu item Base Station, look for Equivalent Network Password. -
Is it possible to create a SHORT CUT key for a Workspace in CS 5.5 ?
Is it possible to create a SHORT CUT key for a Workspace using In Design CS 5.5 ?
Edit Menu > Keyboard Shortcuts > Product Area: Window Menu > Workspace Load 1st, 2nd, 3rd, etc. Create a new set and assign a shortcut
-
Remote Keys for Multiple Systems
I am working on an SRM project where we have internal catalogs items (from ECC) and external catalog items (from Excel files) going into an MDM Catalog repository. For both, we use a lookup table for the Supplier number to cross-ref to a supplier name.
We have a Supplier List message that runs from ECC to MDMCAT to populate this table. In doing so, it creates a key mapping for the ECC remote system...which gets used for cross-referencing supplier names when catalog items load.
The issue...we do not have such a Supplier List from the external catalog "remote system", so when external catalog items get loaded there is no supplier number/name cross-ref happening. I can manually create key mappings for the external remote system, but I want to automate it.
I am thinking about having our PI middleware make a copy of the ECC Supplier Lists and send them to a new port set up as the external remote system...thinking that this would generated extenal system keys...hopefully without duplicating supplier lookup records. Before proceeding, I wanted to throw this out to see if there is a better solution.
Any suggestions?
Thanks,
KeithHi Keith,
some remarks:
if you send data from ECC to MDMCAT, the catalog items contain the supplier keys of the ECC system. That's why the import works automatically. If you want to reuse the ECC supplier keys, the first question to answer is: does your external system use exactly the SAME keys as ECC? Only if this is the case, duplicating the ECC supplier message works for you. Otherwise you'd create keys for your external system that are never sent by the external system.
If the external system uses the same keys as ECC, the next question is how often do you update the supplier list in MDM? Regularly? Only once? If regularly your option with PI is a good idea. This won't duplicate supplier records as Import Manager (or MDIS) is able to identify already existing suppliers and updates the remote keys only (anyways you should check the related import map!). If it's a one time action only, you can re-open the same file multiple times for different remote systems with Import Manager. Then you wouldn't have to configure an additional connection from PI to MDM.
Best regards
Michael
Maybe you are looking for
-
How can I make a color box indicator transparent?
All, I would like to make a color box, which is part of a cluster in an array, transparent programmatically. Instead of appearing transparent, it shows up with a LARGE "T" inside the color box, with a white background. Because it is part of a clust
-
Need help getting itunes!!!!!
i am having problems with my itunes, i have recently deleted it for warning of a trogen virus on my computer, of course all is fine now, but the new version of itunes will not finish it's installation program for Apple Software Update 'cannot be remo
-
Issue in using datawindow Editmask Dropdown Calendar -- German dates
Hello, I am facing this regional settings issue in powerbuilder datawindow dropdown calendar. I am using Powerbyuilder 12.5.2 classic version. I created a datawindow with SQL query. The query contains a Datetime column (current_date). For the Dateti
-
My Mac Book Pro is slow and at times I have to reboot to connect to the net
My Mac Book Pro is slow and at times I have to reboot to connect the net. Also wondering how do I check if my software is up to date? Thank you.
-
BPC Alternate hierarchy rollup issue - require help
Hi All, We are seeing a rollup issue on Alternate Hierarchies. We had set-up alternate hierarchies on our Country Dimension (DC) to assist some managerial reporting that is only relevant to one of our Operating segments. To show the problem, I am lis