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
IOException
CertificateException
public static PrivateKey readPrivateKeyFromPKCS12KeyStore(InputStream keyStore, String pkAlias, char[] pkPassword) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
Copyright © 1998–2016 iText Group NV. All rights reserved.