org.mozilla.jss.pkcs7
Class SignedAndEnvelopedData
java.lang.Object
org.mozilla.jss.pkcs7.SignedAndEnvelopedData
- ASN1Value
public class SignedAndEnvelopedData
extends java.lang.Object
encode
public void encode(OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
its own base tag.
- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException
Write this value's DER encoding to an output stream using
an implicit tag.
- encode in interface ASN1Value
getCertificates
public SET getCertificates()
Returns a SET of ANYs. May return null
if the
certificates field is not present.
getCrls
public SET getCrls()
Returns a SET of ANYs. May return null
if the crls
field is not present.
getDigestAlgorithms
public SET getDigestAlgorithms()
Returns a SET of AlgorithmIdentifier.
getEncryptedContentInfo
public EncryptedContentInfo getEncryptedContentInfo()
Returns the encrypted content.
getRecipientInfos
public SET getRecipientInfos()
Returns a SET of RecipientInfo.
getSignerInfos
public SET getSignerInfos()
Returns a SET of SignerInfo.
getTag
public Tag getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
- getTag in interface ASN1Value
getVersion
public INTEGER getVersion()
Returns the version number. The current version is 1.