public class PrivateKeyInfoFactory
extends java.lang.Object
| Constructor and Description |
|---|
PrivateKeyInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKeyInfo |
createPrivateKeyInfo(AsymmetricKeyParameter privateKey)
Create a PrivateKeyInfo representation of a private key.
|
public static PrivateKeyInfo createPrivateKeyInfo(AsymmetricKeyParameter privateKey) throws java.io.IOException
privateKey - the SubjectPublicKeyInfo encodingjava.io.IOException - on an error encoding the key