java.lang.Object | |
↳ | org.bouncycastle.cert.crmf.CertificateRequestMessage |
Known Direct Subclasses |
Carrier for a CRMF CertReqMsg.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | popKeyAgreement | ||||||||||
int | popKeyEncipherment | ||||||||||
int | popRaVerified | ||||||||||
int | popSigningKey |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a CertificateRequestMessage from the passed in bytes.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the certificate template contained in this message.
| |||||||||||
Return a control value of the specified type.
| |||||||||||
Return the ASN.1 encoding of the certReqMsg we wrap.
| |||||||||||
Return the type of the proof-of-possession this request message provides.
| |||||||||||
Return whether or not this request has a specific type of control value.
| |||||||||||
Return whether or not this request has control values associated with it.
| |||||||||||
Return whether or not this request message has a proof-of-possession field in it.
| |||||||||||
Return whether or not the proof-of-possession (POP) is of the type popSigningKey and
it has a public key MAC associated with it.
| |||||||||||
Return whether or not a signing key proof-of-possession (POP) is valid.
| |||||||||||
Return whether or not a signing key proof-of-possession (POP), with an associated PKMAC, is valid.
| |||||||||||
Return the underlying ASN.1 object defining this CertificateRequestMessage object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a CertificateRequestMessage from the passed in bytes.
certReqMsg | BER/DER encoding of the CertReqMsg structure. |
---|
IOException | in the event of corrupted data, or an incorrect structure. |
---|
Return the certificate template contained in this message.
Return a control value of the specified type.
type | the type OID for the control value we are checking for. |
---|
Return the ASN.1 encoding of the certReqMsg we wrap.
IOException | if there is an exception creating the encoding. |
---|
Return the type of the proof-of-possession this request message provides.
Return whether or not this request has a specific type of control value.
type | the type OID for the control value we are checking for. |
---|
Return whether or not this request has control values associated with it.
Return whether or not this request message has a proof-of-possession field in it.
Return whether or not the proof-of-possession (POP) is of the type popSigningKey and it has a public key MAC associated with it.
Return whether or not a signing key proof-of-possession (POP) is valid.
verifierProvider | a provider that can produce content verifiers for the signature contained in this POP. |
---|
CRMFException | if there is a problem in verification or content verifier creation. |
---|---|
IllegalStateException | if POP not appropriate. |
Return whether or not a signing key proof-of-possession (POP), with an associated PKMAC, is valid.
verifierProvider | a provider that can produce content verifiers for the signature contained in this POP. |
---|---|
macBuilder | a suitable PKMACBuilder to create the MAC verifier. |
password | the password used to key the MAC calculation. |
CRMFException | if there is a problem in verification or content verifier creation. |
---|---|
IllegalStateException | if POP not appropriate. |
Return the underlying ASN.1 object defining this CertificateRequestMessage object.