public final class Pkcs12FileHelper extends Object
Modifier and Type | Method and Description |
---|---|
static KeyStore |
initStore(String p12FileName, char[] ksPass) |
static Certificate[] |
readFirstChain(String p12FileName, char[] ksPass) |
static PrivateKey |
readFirstKey(String p12FileName, char[] ksPass, char[] keyPass) |
public static Certificate[] readFirstChain(String p12FileName, char[] ksPass) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException
public static PrivateKey readFirstKey(String p12FileName, char[] ksPass, char[] keyPass) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException, UnrecoverableKeyException
public static KeyStore initStore(String p12FileName, char[] ksPass) throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException, UnrecoverableKeyException, NoSuchProviderException
Copyright © 1998–2023 iText Group NV. All rights reserved.