public class KeyAndCertificateFactory extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addSubjectAlternativeName(String host) |
static KeyAndCertificateFactory |
keyAndCertificateFactory() |
static void |
main(String[] args) |
X509Certificate |
mockServerCertificateAuthorityX509Certificate() |
PrivateKey |
mockServerPrivateKey() |
X509Certificate |
mockServerX509Certificate() |
public static KeyAndCertificateFactory keyAndCertificateFactory()
public static void addSubjectAlternativeName(String host)
public PrivateKey mockServerPrivateKey()
public X509Certificate mockServerX509Certificate()
public X509Certificate mockServerCertificateAuthorityX509Certificate()
Copyright © 2018. All rights reserved.