| Modifier and Type | Field and Description |
|---|---|
| private final CertReqMsg | |
| private final Controls | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | CertificateRequestMessage(byte[]
BER/DER encoding of the CertReqMsg structure. certReqMsg)Create a CertificateRequestMessage from the passed in bytes. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private AttributeTypeAndValue | |
| public ASN1Integer | Returns: the certificate request ID.Return the certificate request ID for this message. |
| public CertTemplate | Returns: a CertTemplate structure.Return the certificate template contained in this message. |
| public Control | Returns: the control value if present, null otherwise.the type OID for the control value we are checking for. type)Return a control value of the specified type. |
| public byte[] | Returns: a byte array containing the binary encoding of the certReqMsg.Implements org. |
| public int | Returns: one of: popRaVerified, popSigningKey, popKeyEncipherment, popKeyAgreementReturn the type of the proof-of-possession this request message provides. |
| public boolean | Returns: true if a control value of type is present, false otherwise.the type OID for the control value we are checking for. type)Return whether or not this request has a specific type of control value. |
| public boolean | Returns: true if there are control values present, false otherwise.Return whether or not this request has control values associated with it. |
| public boolean | Returns: true if proof-of-possession is present, false otherwise.Return whether or not this request message has a proof-of-possession field in it. |
| public boolean | Returns: true if POP is popSigningKey and a PKMAC is present, false otherwise.Return whether or not the proof-of-possession (POP) is of the type popSigningKey and it has a public key MAC associated with it. |
| public boolean | Returns: true if the POP is valid, false otherwise.a provider that can produce content verifiers for the signature contained in this POP. verifierProvider)Return whether or not a signing key proof-of-possession (POP) is valid. |
| public boolean | Returns: true if the POP is valid, false otherwise.a provider that can produce content verifiers for the signature contained in this POP. verifierProvider, PKMACBuilder a suitable PKMACBuilder to create the MAC verifier. macBuilder, char[] the password used to key the MAC calculation. password)Return whether or not a signing key proof-of-possession (POP), with an associated PKMAC, is valid. |
| private static CertReqMsg | |
| public CertReqMsg | Returns: a CertReqMsg.Return the underlying ASN.1 object defining this CertificateRequestMessage object. |
| private boolean |
| certReqMsg | back to summary |
|---|---|
| private final CertReqMsg certReqMsg | |
| controls | back to summary |
|---|---|
| private final Controls controls | |
| popKeyAgreement | back to summary |
|---|---|
| public static final int popKeyAgreement | |
| popKeyEncipherment | back to summary |
|---|---|
| public static final int popKeyEncipherment | |
| popRaVerified | back to summary |
|---|---|
| public static final int popRaVerified | |
| popSigningKey | back to summary |
|---|---|
| public static final int popSigningKey | |
| CertificateRequestMessage | back to summary |
|---|---|
| public CertificateRequestMessage(byte[] certReqMsg) throws IOException Create a CertificateRequestMessage from the passed in bytes.
| |
| CertificateRequestMessage | back to summary |
|---|---|
| public CertificateRequestMessage(CertReqMsg certReqMsg) | |
| findControl | back to summary |
|---|---|
| private AttributeTypeAndValue findControl(ASN1ObjectIdentifier type) | |
| getCertReqId | back to summary |
|---|---|
| public ASN1Integer getCertReqId() Return the certificate request ID for this message.
| |
| getCertTemplate | back to summary |
|---|---|
| public CertTemplate getCertTemplate() Return the certificate template contained in this message.
| |
| getControl | back to summary |
|---|---|
| public Control getControl(ASN1ObjectIdentifier type) Return a control value of the specified type.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Return the ASN.1 encoding of the certReqMsg we wrap.
| |
| getProofOfPossessionType | back to summary |
|---|---|
| public int getProofOfPossessionType() Return the type of the proof-of-possession this request message provides.
| |
| hasControl | back to summary |
|---|---|
| public boolean hasControl(ASN1ObjectIdentifier type) Return whether or not this request has a specific type of control value.
| |
| hasControls | back to summary |
|---|---|
| public boolean hasControls() Return whether or not this request has control values associated with it.
| |
| hasProofOfPossession | back to summary |
|---|---|
| public boolean hasProofOfPossession() Return whether or not this request message has a proof-of-possession field in it.
| |
| hasSigningKeyProofOfPossessionWithPKMAC | back to summary |
|---|---|
| public boolean hasSigningKeyProofOfPossessionWithPKMAC() Return whether or not the proof-of-possession (POP) is of the type popSigningKey and it has a public key MAC associated with it.
| |
| isValidSigningKeyPOP | back to summary |
|---|---|
| public boolean isValidSigningKeyPOP(ContentVerifierProvider verifierProvider) throws CRMFException, IllegalStateException Return whether or not a signing key proof-of-possession (POP) is valid.
| |
| isValidSigningKeyPOP | back to summary |
|---|---|
| public boolean isValidSigningKeyPOP(ContentVerifierProvider verifierProvider, PKMACBuilder macBuilder, char[] password) throws CRMFException, IllegalStateException Return whether or not a signing key proof-of-possession (POP), with an associated PKMAC, is valid.
| |
| parseBytes | back to summary |
|---|---|
| private static CertReqMsg parseBytes(byte[] encoding) throws IOException | |
| toASN1Structure | back to summary |
|---|---|
| public CertReqMsg toASN1Structure() Return the underlying ASN.1 object defining this CertificateRequestMessage object.
| |
| verifySignature | back to summary |
|---|---|
| private boolean verifySignature(ContentVerifierProvider verifierProvider, POPOSigningKey popoSign) throws CRMFException | |