|
Bouncy Castle Cryptography 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.cert.cmp.ProtectedPKIMessage
Wrapper for a PKIMessage with protection attached to it.
Constructor Summary | |
ProtectedPKIMessage(GeneralPKIMessage pkiMessage)
Base constructor. |
Method Summary | |
org.bouncycastle.asn1.cmp.PKIBody |
getBody()
Return the message body. |
X509CertificateHolder[] |
getCertificates()
Return the extra certificates associated with this message. |
org.bouncycastle.asn1.cmp.PKIHeader |
getHeader()
Return the message header. |
boolean |
hasPasswordBasedMacProtection()
Determine whether the message is protected by a password based MAC. |
org.bouncycastle.asn1.cmp.PKIMessage |
toASN1Structure()
Return the underlying ASN.1 structure contained in this object. |
boolean |
verify(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
Verify a message with a public key based signature attached. |
boolean |
verify(PKMACBuilder pkMacBuilder,
char[] password)
Verify a message with password based MAC protection. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ProtectedPKIMessage(GeneralPKIMessage pkiMessage)
pkiMessage
- a GeneralPKIMessage withMethod Detail |
public org.bouncycastle.asn1.cmp.PKIHeader getHeader()
public org.bouncycastle.asn1.cmp.PKIBody getBody()
public org.bouncycastle.asn1.cmp.PKIMessage toASN1Structure()
public boolean hasPasswordBasedMacProtection()
public X509CertificateHolder[] getCertificates()
public boolean verify(org.bouncycastle.operator.ContentVerifierProvider verifierProvider) throws CMPException
verifierProvider
- a provider of signature verifiers.public boolean verify(PKMACBuilder pkMacBuilder, char[] password) throws CMPException
pkMacBuilder
- MAC builder that can be used to construct the appropriate MacCalculatorpassword
- the MAC password
|
Bouncy Castle Cryptography 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |