| Modifier and Type | Field and Description |
|---|---|
| private final SubjectPublicKeyInfo | |
| private final AlgorithmIdentifier | |
| private final ASN1BitString | |
| private final CertificationRequest | |
| private static Attribute[] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | PKCS10CertificationRequest(CertificationRequest
the underlying ASN.1 structure representing a request. certificationRequest)Create a PKCS10CertificationRequestHolder from an underlying ASN.1 structure. |
| public | PKCS10CertificationRequest(byte[]
BER/DER encoding of the CertificationRequest structure. encoded)Create a PKCS10CertificationRequestHolder from the passed in bytes. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public Attribute[] | Returns: an array of Attribute, zero length if none present.Return the attributes, if any associated with this request. |
| public Attribute[] | Returns: an array of Attribute of the requested type, zero length if none present.the type of the attribute being looked for. type)Return an array of attributes matching the passed in type OID. |
| public byte[] | |
| public Extensions | Returns: the requested extensions, null if none are requested.Return any extensions requested in the PKCS#10 request. |
| public byte[] | Returns: the request signature bytes.Return the bytes making up the signature associated with this request. |
| public AlgorithmIdentifier | Returns: the AlgorithmIdentifier describing the signature algorithm used to create this request.Return the details of the signature algorithm used to create this request. |
| private static ASN1Encodable | |
| public X500Name | Returns: the X500Name representing the request's subject.Return the subject on this request. |
| public SubjectPublicKeyInfo | Returns: the public key ASN.1 structure contained in the request.Return the SubjectPublicKeyInfo describing the public key this request is carrying. |
| public boolean | Returns: true if this is a dual key request, false otherwise.Return true if the certification request has an alternate public key present. |
| public int | |
| public boolean | Returns: true if the alternate signature is valid, false otherwise.a ContentVerifierProvider that can generate a verifier for the signature. verifierProvider)Validate the alternate signature on the PKCS10 certification request in this holder. |
| public boolean | Returns: true if the signature is valid, false otherwise.a ContentVerifierProvider that can generate a verifier for the signature. verifierProvider)Validate the signature on the PKCS10 certification request in this holder. |
| private static CertificationRequest | |
| public CertificationRequest | Returns: a CertificateRequest object.Return the underlying ASN.1 structure for this request. |
| altPublicKey | back to summary |
|---|---|
| private final SubjectPublicKeyInfo altPublicKey | |
| altSignature | back to summary |
|---|---|
| private final AlgorithmIdentifier altSignature | |
| altSignatureValue | back to summary |
|---|---|
| private final ASN1BitString altSignatureValue | |
| certificationRequest | back to summary |
|---|---|
| private final CertificationRequest certificationRequest | |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static Attribute[] EMPTY_ARRAY | |
| isAltRequest | back to summary |
|---|---|
| private final boolean isAltRequest | |
| PKCS10CertificationRequest | back to summary |
|---|---|
| public PKCS10CertificationRequest(CertificationRequest certificationRequest) Create a PKCS10CertificationRequestHolder from an underlying ASN.1 structure.
| |
| PKCS10CertificationRequest | back to summary |
|---|---|
| public PKCS10CertificationRequest(byte[] encoded) throws IOException Create a PKCS10CertificationRequestHolder from the passed in bytes.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAttributes | back to summary |
|---|---|
| public Attribute[] getAttributes() Return the attributes, if any associated with this request.
| |
| getAttributes | back to summary |
|---|---|
| public Attribute[] getAttributes(ASN1ObjectIdentifier type) Return an array of attributes matching the passed in type OID.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException | |
| getRequestedExtensions | back to summary |
|---|---|
| public Extensions getRequestedExtensions() Return any extensions requested in the PKCS#10 request. If none are present, the method will return null.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Return the bytes making up the signature associated with this request.
| |
| getSignatureAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getSignatureAlgorithm() Return the details of the signature algorithm used to create this request.
| |
| getSingleValue | back to summary |
|---|---|
| private static ASN1Encodable getSingleValue(Attribute at) | |
| getSubject | back to summary |
|---|---|
| public X500Name getSubject() Return the subject on this request.
| |
| getSubjectPublicKeyInfo | back to summary |
|---|---|
| public SubjectPublicKeyInfo getSubjectPublicKeyInfo() Return the SubjectPublicKeyInfo describing the public key this request is carrying.
| |
| hasAltPublicKey | back to summary |
|---|---|
| public boolean hasAltPublicKey() Return true if the certification request has an alternate public key present.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAltSignatureValid | back to summary |
|---|---|
| public boolean isAltSignatureValid(ContentVerifierProvider verifierProvider) throws PKCSException Validate the alternate signature on the PKCS10 certification request in this holder.
| |
| isSignatureValid | back to summary |
|---|---|
| public boolean isSignatureValid(ContentVerifierProvider verifierProvider) throws PKCSException Validate the signature on the PKCS10 certification request in this holder.
| |
| parseBytes | back to summary |
|---|---|
| private static CertificationRequest parseBytes(byte[] encoding) throws IOException | |
| toASN1Structure | back to summary |
|---|---|
| public CertificationRequest toASN1Structure() Return the underlying ASN.1 structure for this request.
| |