Re: target parameter to PK11_Derive

2015-05-07 Thread Andrew Cagney
[inline] On 5 May 2015 at 13:18, Robert Relyea wrote: The target Mechanism is the operation you are going to use the target key > for, It shouldn't match the mechanism used to derive the key. It is > basically used to set the appropriate key type and flags on the resultant > key. Example psuedo

creating a java.security.cert.X509Certificate form PK11InternalTokenCert - public key export??

2015-05-07 Thread Opa114
Hi, when i "convert" the PK11InternalTokenCert to a java X509Certificate and then i print out the certificate the public key is in this certificate as a: org.mozilla.jss.pkcs11.PK11RSAPublicKey@17050dc, but i want it thee i clear text and "normal". How can i do this an my conversation? i did i