public class JcaPEMKeyConverter extends Object
Constructor and Description |
---|
JcaPEMKeyConverter() |
Modifier and Type | Method and Description |
---|---|
KeyPair |
getKeyPair(PEMKeyPair keyPair) |
PrivateKey |
getPrivateKey(PrivateKeyInfo privateKeyInfo) |
PublicKey |
getPublicKey(SubjectPublicKeyInfo publicKeyInfo) |
JcaPEMKeyConverter |
setProvider(Provider provider) |
JcaPEMKeyConverter |
setProvider(String providerName) |
public JcaPEMKeyConverter setProvider(Provider provider)
public JcaPEMKeyConverter setProvider(String providerName)
public KeyPair getKeyPair(PEMKeyPair keyPair) throws PEMException
PEMException
public PublicKey getPublicKey(SubjectPublicKeyInfo publicKeyInfo) throws PEMException
PEMException
public PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) throws PEMException
PEMException
Copyright © 2018 BouncyCastle.org. All rights reserved.