[Muscle] How to Key Wrapping On Card?
Sylvain Ferey
s.ferey at wanadoo.fr
Tue Feb 26 12:35:58 PST 2008
At 19:29 26/02/2008 +0800, you wrote:
>Hello All,
>
>We have a requirement of RSA Key Wrapping on the Card. $B#I(Bhave no idea
>about this.
>Could any one give me some help, how should I start this work?
- optionally input an user chosen password
- allocate a buffer
- read the components
- format them according PrivateKeyInfo, PKCS.8
- encrypts it (with sym. key built from a password - look for "PBE" - or
loaded by card issuer)
- build a EncryptedPrivateKeyInfo, PKCS.8
- return the block.
Sylvain.
More information about the Muscle
mailing list