java.lang.Object | |
↳ | org.bouncycastle.cms.SignerInformation |
an expanded SignerInfo block from a CMS Signed message
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a signer information object with passed in SignerInformationStore representing counter
signatures attached as an unsigned attribute.
| |||||||||||
return the content digest that was calculated during verification.
| |||||||||||
Return a SignerInformationStore containing the counter signatures attached to this
signer.
| |||||||||||
return the object identifier for the signature.
| |||||||||||
return the signature parameters, or null if there aren't any.
| |||||||||||
return the DER encoding of the signed attributes.
| |||||||||||
return the object identifier for the signature.
| |||||||||||
return the signature/encryption algorithm parameters, or null if
there aren't any.
| |||||||||||
return the encoded signature
| |||||||||||
return a table of the signed attributes - indexed by
the OID of the attribute.
| |||||||||||
return a table of the unsigned attributes indexed by
the OID of the attribute.
| |||||||||||
return the version number for this objects underlying SignerInfo structure.
| |||||||||||
Return a signer information object with the passed in unsigned
attributes replacing the ones that are current associated with
the object passed in.
| |||||||||||
Return the underlying ASN.1 object defining this SignerInformation object.
| |||||||||||
This method is deprecated.
use toASN1Structure()
| |||||||||||
This method is deprecated.
use verify(ContentVerifierProvider)
| |||||||||||
This method is deprecated.
use verify(ContentVerifierProvider)
| |||||||||||
This method is deprecated.
use verify(ContentVerifierProvider)
| |||||||||||
Verify that the given verifier can successfully verify the signature on
this SignerInformation object.
| |||||||||||
This method is deprecated.
use verify(ContentVerifierProvider)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Return a signer information object with passed in SignerInformationStore representing counter signatures attached as an unsigned attribute.
signerInformation | the signerInfo to be used as the basis. |
---|---|
counterSigners | signer info objects carrying counter signature. |
return the content digest that was calculated during verification.
Return a SignerInformationStore containing the counter signatures attached to this signer. If no counter signatures are present an empty store is returned.
return the signature parameters, or null if there aren't any.
return the DER encoding of the signed attributes.
IOException | if an encoding error occurs. |
---|
return the signature/encryption algorithm parameters, or null if there aren't any.
return the encoded signature
return a table of the signed attributes - indexed by the OID of the attribute.
return a table of the unsigned attributes indexed by the OID of the attribute.
return the version number for this objects underlying SignerInfo structure.
Return a signer information object with the passed in unsigned attributes replacing the ones that are current associated with the object passed in.
signerInformation | the signerInfo to be used as the basis. |
---|---|
unsignedAttributes | the unsigned attributes to add. |
Return the underlying ASN.1 object defining this SignerInformation object.
This method is deprecated.
use toASN1Structure()
Return the base ASN.1 CMS structure that this object contains.
This method is deprecated.
use verify(ContentVerifierProvider)
verify that the given certificate successfully handles and confirms the signature associated with this signer and, if a signingTime attribute is available, that the certificate was valid at the time the signature was generated.
This method is deprecated.
use verify(ContentVerifierProvider)
verify that the given public key successfully handles and confirms the signature associated with this signer
This method is deprecated.
use verify(ContentVerifierProvider)
verify that the given certificate successfully handles and confirms the signature associated with this signer and, if a signingTime attribute is available, that the certificate was valid at the time the signature was generated.
Verify that the given verifier can successfully verify the signature on this SignerInformation object.
verifier | a suitably configured SignerInformationVerifier. |
---|
CMSVerifierCertificateNotValidException | if the provider has an associated certificate and the certificate is not valid at the time given as the SignerInfo's signing time. |
---|---|
CMSException | if the verifier is unable to create a ContentVerifiers or DigestCalculators. |
This method is deprecated.
use verify(ContentVerifierProvider)
verify that the given public key successfully handles and confirms the signature associated with this signer.