public class CryptoUtil extends Object
| Constructor and Description |
|---|
CryptoUtil() |
| Modifier and Type | Method and Description |
|---|---|
static PrivateKey |
readPrivateKeyFromPKCS12KeyStore(InputStream keyStore,
String pkAlias,
char[] pkPassword) |
static Certificate |
readPublicCertificate(InputStream is) |
public static Certificate readPublicCertificate(InputStream is) throws IOException, CertificateException
IOExceptionCertificateExceptionpublic static PrivateKey readPrivateKeyFromPKCS12KeyStore(InputStream keyStore, String pkAlias, char[] pkPassword) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionCopyright © 1998–2018 iText Group NV. All rights reserved.