org.bouncycastle.asn1.pkcs
Class SignerInfo
- DEREncodable
a PKCS#7 signer info object.
getAuthenticatedAttributes
public ASN1Set getAuthenticatedAttributes()
getInstance
public static SignerInfo getInstance(Object o)
getUnauthenticatedAttributes
public ASN1Set getUnauthenticatedAttributes()
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
SignerInfo ::= SEQUENCE {
version Version,
issuerAndSerialNumber IssuerAndSerialNumber,
digestAlgorithm DigestAlgorithmIdentifier,
authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,
digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,
encryptedDigest EncryptedDigest,
unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL
}
EncryptedDigest ::= OCTET STRING
DigestAlgorithmIdentifier ::= AlgorithmIdentifier
DigestEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
- toASN1Object in interface ASN1Encodable