public interface P12Generator
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.pkcs.PKCS12PfxPdu |
generate(char[] password,
PrivateKey key,
String alias,
X509Certificate... certificates)
Generates a PKCS12 container object that contains the given private key and certificates with the given alias.
|
org.bouncycastle.pkcs.PKCS12PfxPdu |
generate(char[] password,
PrivateKey key,
X509Certificate... certificates)
Generates a PKCS12 container object that contains the given private key and certificates.
|
org.bouncycastle.pkcs.PKCS12PfxPdu generate(char[] password,
PrivateKey key,
X509Certificate... certificates)
password - PKCS12 encryption password. This secret is also used to encrypt the inner private key.key - Private key.certificates - One or more certificates. If more than one certificate is provided, the first is taken as the
end-entity certificate.org.bouncycastle.pkcs.PKCS12PfxPdu generate(char[] password,
PrivateKey key,
String alias,
X509Certificate... certificates)
password - PKCS12 encryption password. This secret is also used to encrypt the inner private key.key - Private key.alias - Keystore alias.certificates - One or more certificates. If more than one certificate is provided, the first is taken as the
end-entity certificate.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.