Package codec.pkcs7

Interface Summary
Signable A common interface for signable classes such as SignedData and SignedAndEnvelopedData.
 

Class Summary
Certificates Represents a set of certificates.
ContentInfo This class represents a ContentInfo as defined in PKCS#7.
Data This class represents the PKCS#7 Data type that is defined as: Data ::= OCTET STRING It serves as a wrapper around arbitrary contents octets.
EncryptedContentInfo This class represents a EncryptedContentInfo as defined in PKCS#7.
EncryptedData This class represents a EncryptedContentInfo as defined in PKCS#7.
EnvelopedData This class represents the PKCS#7 EnvelopedData type, which is defined as follows: EnvelopedData ::= SEQUENCE { version Version, recipientInfos RecipientInfos, encryptedContentInfo EncryptedContentInfo } RecipientInfos ::= SET OF RecipientInfo See class RecipientInfo for a description of the RecipientInfo structure.
RecipientInfo This class represents a PKCS#7 RecipientInfo structure.
SignedAndEnvelopedData The definition of this structure is: SignedAndEnvelopedData ::= SEQUENCE { version Version, recipientInfos RecipientInfos, digestAlgorithms DigestAlgorithmIdentifiers, encryptedContentInfo EncryptedContentInfo, certificates [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL, crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, signerInfos SignerInfos } DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier SignerInfos ::= SET OF SignerInfo Please note that SignerInfo structures only store the issuer and serial number of the signing certificate but not the certificate itself.
SignedData The signatures generated by this class are compatible to Sun's jarsigner.
Signer ATTENTION : if the strict DER Encoding shall be used, the function setStrict(true) must be called right after instantiating the Object.
SignerInfo ATTENTION : if this object shall use the strict DER encoding rules, the function setStrict(true) must be called right after instantiating the object.
Verifier Verifies a given SignedData object.
 

Exception Summary
NoSuchSignerException Thrown when a SignerInfo is not found.
 



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.