| Modifier and Type | Field and Description |
|---|---|
| private CertificationRequest | |
| private static Attribute[] |
| 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 | |
| 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. |
| 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 int | |
| 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. |
| certificationRequest | back to summary |
|---|---|
| private CertificationRequest certificationRequest | |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static Attribute[] EMPTY_ARRAY | |
| 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() | |
| 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.
| |
| 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.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| 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.
| |