|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.util.PrivateKeyInfoFactory
public class PrivateKeyInfoFactory
Factory to create ASN.1 private key info objects from lightweight private keys.
Constructor Summary | |
---|---|
PrivateKeyInfoFactory()
|
Method Summary | |
---|---|
static PrivateKeyInfo |
createPrivateKeyInfo(AsymmetricKeyParameter privateKey)
Create a PrivateKeyInfo representation of a private key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrivateKeyInfoFactory()
Method Detail |
---|
public static PrivateKeyInfo createPrivateKeyInfo(AsymmetricKeyParameter privateKey) throws java.io.IOException
privateKey
- the SubjectPublicKeyInfo encoding
java.io.IOException
- on an error encoding the key
|
Bouncy Castle Cryptography Library 1.48 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |