com.dstc.security.cms
Interface OriginatorInfo


public interface OriginatorInfo

An interface to information on the originator of a CMS EnvelopedData.

An OriginatorInfo is carried in an EnvelopedData only if the key agreement algorithm requires it. Currently, only Ephemeral-Static Diffie-Hellman is defined as a key agreement method for CMS, and OriginatorInfo * is not used therein.

OriginatorInfo is defined in RFC2630 by the ASN.1 structure

     OriginatorInfo ::= SEQUENCE {
        certs [0] IMPLICIT CertificateSet OPTIONAL,
        crls [1] IMPLICIT CertificateRevocationLists OPTIONAL }

 

See Also:
EnvelopedData

Method Summary
 X509Certificate[] getCertificates()
          Returns the X.509 certificates carried in this OriginatorInfo
 X509CRL[] getCRLs()
          Returns the X.509 CRLs carried in this OriginatorInfo
 

Method Detail

getCertificates

public X509Certificate[] getCertificates()
Returns the X.509 certificates carried in this OriginatorInfo

getCRLs

public X509CRL[] getCRLs()
Returns the X.509 CRLs carried in this OriginatorInfo