public class JcaPEMKeyConverter
extends java.lang.Object
Constructor and Description |
---|
JcaPEMKeyConverter() |
Modifier and Type | Method and Description |
---|---|
java.security.KeyPair |
getKeyPair(PEMKeyPair keyPair) |
java.security.PrivateKey |
getPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo) |
java.security.PublicKey |
getPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
JcaPEMKeyConverter |
setProvider(java.security.Provider provider) |
JcaPEMKeyConverter |
setProvider(java.lang.String providerName) |
public JcaPEMKeyConverter setProvider(java.security.Provider provider)
public JcaPEMKeyConverter setProvider(java.lang.String providerName)
public java.security.KeyPair getKeyPair(PEMKeyPair keyPair) throws PEMException
PEMException
public java.security.PublicKey getPublicKey(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws PEMException
PEMException
public java.security.PrivateKey getPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo) throws PEMException
PEMException