| Modifier and Type | Field and Description |
|---|---|
| private PKIMessage |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PKIBody | |
| public X509CertificateHolder[] | Returns: an array of extra certificates, zero length if none present.Return the extra certificates associated with this message. |
| public PKIHeader | |
| public boolean | Returns: true if protection MAC PBE based, false otherwise.Determine whether the message is protected by a password based MAC. |
| public PKIMessage | Returns: a PKIMessage structure.Return the underlying ASN.1 structure contained in this object. |
| public boolean | Returns: true if the provider is able to create a verifier that validates the signature, false otherwise.a provider of signature verifiers. verifierProvider)Verify a message with a public key based signature attached. |
| public boolean | Returns: true if the passed in password and MAC builder verify the message, false otherwise.MAC builder that can be used to construct the appropriate MacCalculator pbeMacCalculatorProvider, char[] the MAC password password)Verify a message with password based MAC protection. |
| private boolean |
| pkiMessage | back to summary |
|---|---|
| private PKIMessage pkiMessage | |
| ProtectedPKIMessage | back to summary |
|---|---|
| public ProtectedPKIMessage(GeneralPKIMessage pkiMessage) Base constructor.
| |
| ProtectedPKIMessage | back to summary |
|---|---|
| pack-priv ProtectedPKIMessage(PKIMessage pkiMessage) | |
| getBody | back to summary |
|---|---|
| public PKIBody getBody() Return the message body.
| |
| getCertificates | back to summary |
|---|---|
| public X509CertificateHolder[] getCertificates() Return the extra certificates associated with this message.
| |
| getHeader | back to summary |
|---|---|
| public PKIHeader getHeader() Return the message header.
| |
| hasPasswordBasedMacProtection | back to summary |
|---|---|
| public boolean hasPasswordBasedMacProtection() Determine whether the message is protected by a password based MAC. Use verify(PKMACBuilder, char[]) to verify the message if this method returns true.
| |
| toASN1Structure | back to summary |
|---|---|
| public PKIMessage toASN1Structure() Return the underlying ASN.1 structure contained in this object.
| |
| verify | back to summary |
|---|---|
| public boolean verify(ContentVerifierProvider verifierProvider) throws CMPException Verify a message with a public key based signature attached.
| |
| verify | back to summary |
|---|---|
| public boolean verify(PBEMacCalculatorProvider pbeMacCalculatorProvider, char[] password) throws CMPException Verify a message with password based MAC protection.
| |
| verifySignature | back to summary |
|---|---|
| private boolean verifySignature(byte[] signature, ContentVerifier verifier) throws IOException | |