public interface CryptoService
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
createPemKeyStore() |
Provider |
getProvider()
Return a standard security provider -- we may use this to explicitly pick certain algorithms.
|
X509Certificate |
readCertificate(InputStream is) |
KeyPair |
readKeyPair(String algorithm,
InputStream is,
char[] passphrase) |
KeyPair |
readKeyPair(String algorithm,
String pem,
char[] passphrase) |
PublicKey |
readPublicKey(String algorithm,
InputStream is) |
PublicKey |
readPublicKey(String algorithm,
String pem) |
KeyPair readKeyPair(String algorithm, InputStream is, char[] passphrase) throws IOException, CryptoException
IOExceptionCryptoExceptionKeyPair readKeyPair(String algorithm, String pem, char[] passphrase) throws IOException, CryptoException
IOExceptionCryptoExceptionPublicKey readPublicKey(String algorithm, InputStream is) throws IOException, CryptoException
IOExceptionCryptoExceptionPublicKey readPublicKey(String algorithm, String pem) throws IOException, CryptoException
IOExceptionCryptoExceptionX509Certificate readCertificate(InputStream is) throws IOException, CryptoException
IOExceptionCryptoExceptionKeyStore createPemKeyStore()
Provider getProvider()
Copyright © 2016 Apigee Corporation. All Rights Reserved.