CertificateBuilder |
CertificateBuilder.addCrlDistributionPoint(java.net.URI uri) |
Add a URI distribution point for a certificate revocation list.
|
CertificateBuilder |
CertificateBuilder.addCrlDistributionPoint(java.net.URI uri,
javax.security.auth.x500.X500Principal issuer) |
Add a URI distribution point for a certificate revocation list.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsage(CertificateBuilder.ExtendedKeyUsage keyUsage) |
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsage(java.lang.String oid) |
Add the given OID to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageClientAuth() |
Add client-authentication to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageCodeSigning() |
Add code signing to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageEmailProtection() |
Add email protection to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageKerberosClientAuth() |
Add Kerberos client authentication to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageMicrosoftSmartcardLogin() |
Add Microsoft smartcard login to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageOcspSigning() |
Add OCSP signing to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageServerAuth() |
Add server-authentication to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtendedKeyUsageTimeStamping() |
Add time-stamping to the list of extended key usages.
|
CertificateBuilder |
CertificateBuilder.addExtensionAsciiString(java.lang.String identifierOID,
boolean critical,
java.lang.String value) |
Add a custom DER-encoded ASN.1 IA5String (an ASCII string) extension to the certificate, with the given OID,
criticality, and string value.
|
CertificateBuilder |
CertificateBuilder.addExtensionOctetString(java.lang.String identifierOID,
boolean critical,
byte[] contents) |
Add a custom extension to the certificate, with the given OID, criticality flag, and DER-encoded contents.
|
CertificateBuilder |
CertificateBuilder.addExtensionUtf8String(java.lang.String identifierOID,
boolean critical,
java.lang.String value) |
Add a custom DER-encoded ASN.1 UTF-8 string extension to the certificate, with the given OID, criticality,
and string value.
|
CertificateBuilder |
CertificateBuilder.addSanDirectoryName(java.lang.String dirName) |
Add a Directory Name to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanDnsName(java.lang.String dns) |
Add a DNS name to the Subject Alternate Names.
|
CertificateBuilder |
CertificateBuilder.addSanIpAddress(java.lang.String ipAddress) |
Add an IP address to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanIpAddress(java.net.InetAddress ipAddress) |
Add an IP address to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanOtherName(java.lang.String typeOid,
byte[] encodedValue) |
Add an Other Name to the Subject Alternative Names, of the given OID type, and with the given encoded value.
|
CertificateBuilder |
CertificateBuilder.addSanRegisteredId(java.lang.String oid) |
Add a registeredID to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanRfc822Name(java.lang.String name) |
Add an RFC 822 name to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanUriName(java.lang.String uri) |
Add a URI name to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.addSanUriName(java.net.URI uri) |
Add a URI name to the Subject Alternative Names.
|
CertificateBuilder |
CertificateBuilder.algorithm(CertificateBuilder.Algorithm algorithm) |
Set the key algorithm to use.
|
CertificateBuilder |
CertificateBuilder.copy() |
Produce a copy of the current state in this certificate builder.
|
CertificateBuilder |
CertificateBuilder.ecp256() |
Make this certificate builder use the NIST EC-P 256 elliptic curve key algorithm.
|
CertificateBuilder |
CertificateBuilder.notAfter(java.time.Instant instant) |
Set the not-after field of the certificate.
|
CertificateBuilder |
CertificateBuilder.notBefore(java.time.Instant instant) |
Set the not-before field of the certificate.
|
CertificateBuilder |
CertificateBuilder.publicKey(java.security.PublicKey key) |
Instruct the certificate builder to not generate its own key pair, but to instead create a certificate that
uses the given public key.
|
CertificateBuilder |
CertificateBuilder.rsa2048() |
Make this certificate builder use the 2048-bit RSA encryption and signing
algorithm.
|
CertificateBuilder |
CertificateBuilder.secureRandom(java.security.SecureRandom secureRandom) |
Set the SecureRandom instance to use when generating keys.
|
CertificateBuilder |
CertificateBuilder.serial(java.math.BigInteger serial) |
Set the specific serial number to use in the certificate.
|
CertificateBuilder |
CertificateBuilder.setIsCertificateAuthority(boolean isCA) |
Set the certificate authority field.
|
CertificateBuilder |
CertificateBuilder.setKeyUsage(boolean critical,
CertificateBuilder.KeyUsage... keyUsages) |
The key usage specify the intended usages for which the certificate has been issued.
|
CertificateBuilder |
CertificateBuilder.setPathLengthConstraint(java.util.OptionalInt pathLengthConstraint) |
Certificate Authority certificates may impose a limit to the length of the verified certificate path they permit.
|
CertificateBuilder |
CertificateBuilder.subject(java.lang.String fqdn) |
Set the fully-qualified domain name (an X.500 name) as the subject of the certificate.
|
CertificateBuilder |
CertificateBuilder.subject(javax.security.auth.x500.X500Principal name) |
Set the subject name of the certificate to the given X500Principal .
|