X509CertificateGenerator 构造函数

定义

重载

X509CertificateGenerator()

Constructor that generates a new self signed x509 certificate. Public certificate, private key, thumbprint, and the complete certificate can be accessed by getters. No common name is given to the certificate.

X509CertificateGenerator(String commonName)

Constructor that generates a new self signed x509 certificate. Public certificate, private key, thumbprint, and the complete certificate can be accessed by getters. The created certificate will have the provided common name.

X509CertificateGenerator()

Constructor that generates a new self signed x509 certificate. Public certificate, private key, thumbprint, and the complete certificate can be accessed by getters. No common name is given to the certificate.

public X509CertificateGenerator()

X509CertificateGenerator(String commonName)

Constructor that generates a new self signed x509 certificate. Public certificate, private key, thumbprint, and the complete certificate can be accessed by getters. The created certificate will have the provided common name.

public X509CertificateGenerator(String commonName)

参数

commonName
String

the common name to use for the created certs

适用于