public final class PKCS10CertificateSigningRequest extends Object
CertificationRequest ::= SEQUENCE { certificationRequestInfo CertificationRequestInfo, signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }}, signature BIT STRING } CertificationRequestInfo ::= SEQUENCE { version INTEGER { v1(0) } (v1,...), subject Name, subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }}, attributes [0] Attributes{{ CRIAttributes }} } Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }} Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE { type ATTRIBUTE.&id({IOSet}), values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{\@type}) } AlgorithmIdentifier {ALGORITHM:IOSet } ::= SEQUENCE { algorithm ALGORITHM.&id({IOSet}), parameters ALGORITHM.&Type({IOSet}{ @algorithm}) OPTIONAL }
Modifier and Type | Class and Description |
---|---|
static class |
PKCS10CertificateSigningRequest.Builder
A
Builder to configure and generate a PKCS10CertificateSigningRequest . |
Modifier and Type | Method and Description |
---|---|
static PKCS10CertificateSigningRequest.Builder |
builder()
Construct a new builder instance.
|
byte[] |
getEncoded()
Get this PKCS #10 certificate signing request in binary format.
|
List<X509CertificateExtension> |
getExtensions()
Get the X.509 certificate extensions included in this PKCS #10 certificate signing request.
|
byte[] |
getPem()
Get this PKCS #10 certificate signing request in PEM format.
|
PublicKey |
getPublicKey()
Get the public key associated with this PKCS #10 certificate signing request.
|
X500Principal |
getSubjectDn()
Get the subject DN associated with this PKCS #10 certificate signing request.
|
public byte[] getEncoded()
public byte[] getPem()
public PublicKey getPublicKey()
public X500Principal getSubjectDn()
public List<X509CertificateExtension> getExtensions()
public static PKCS10CertificateSigningRequest.Builder builder()
Copyright © 2021 JBoss by Red Hat. All rights reserved.