public class PKCS12KeyInfo
extends java.lang.Object
Constructor and Description |
---|
PKCS12KeyInfo() |
PKCS12KeyInfo(byte[] epkiBytes)
Construct with a (serialised) EncrypedPrivateKeyInfo.
|
PKCS12KeyInfo(PrivateKey k)
Construct with a PrivateKey.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedPrivateKeyInfoBytes() |
java.lang.String |
getFriendlyName() |
byte[] |
getID() |
PrivateKey |
getPrivateKey() |
void |
setFriendlyName(java.lang.String friendlyName) |
void |
setID(byte[] id) |
public PKCS12KeyInfo()
public PKCS12KeyInfo(PrivateKey k)
public PKCS12KeyInfo(byte[] epkiBytes)
public PrivateKey getPrivateKey()
public byte[] getEncryptedPrivateKeyInfoBytes()
public byte[] getID()
public void setID(byte[] id)
public java.lang.String getFriendlyName()
public void setFriendlyName(java.lang.String friendlyName)