public class X509FakeCertificateGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static char[] |
KEYSTORE_PASSWORD |
Constructor and Description |
---|
X509FakeCertificateGenerator(InputStream is,
String caPassword,
String caAlias) |
X509FakeCertificateGenerator(String caFile,
String caPassword,
String caAlias) |
Modifier and Type | Method and Description |
---|---|
KeyStore |
createDomainCertificate(String domain,
byte[] subjectAltName) |
public X509FakeCertificateGenerator(String caFile, String caPassword, String caAlias) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, UnrecoverableKeyException, InvalidKeyException, NoSuchProviderException, SignatureException
public X509FakeCertificateGenerator(InputStream is, String caPassword, String caAlias) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException, UnrecoverableKeyException, InvalidKeyException, NoSuchProviderException, SignatureException
Copyright © 2019. All rights reserved.