public final class SignedAndEnvelopedData
extends org.bouncycastle.asn1.ASN1Object
SignedAndEnvelopedData ::= SEQUENCE { version Version, recipientInfos RecipientInfos, digestAlgorithms DigestAlgorithmIdentifiers, encryptedContentInfo EncryptedContentInfo, certificates [0] IMPLICIT Certificates OPTIONAL, crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, signerInfos SignerInfos } RecipientInfos ::= SET OF RecipientInfo DigestAlgorithmIdentifiers ::= CHOICE { daSet SET OF DigestAlgorithmIdentifier, daSequence SEQUENCE OF DigestAlgorithmIdentifier } EncryptedContentInfo ::= SEQUENCE { contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }
Constructor and Description |
---|
SignedAndEnvelopedData(org.bouncycastle.asn1.ASN1Sequence seq)
Crea un objecto CMS SignedAndEnvelopedData a partir de una Secuencia ASN.1.
|
SignedAndEnvelopedData(org.bouncycastle.asn1.ASN1Set recipientInfos,
org.bouncycastle.asn1.ASN1Primitive digestAlgorithms,
org.bouncycastle.asn1.cms.EncryptedContentInfo encryptedContentInfo,
org.bouncycastle.asn1.ASN1Set certificates,
org.bouncycastle.asn1.ASN1Set crls,
org.bouncycastle.asn1.ASN1Set signerInfos)
Crea un objecto CMS SignedAndEnvelopedData.
|
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1Set |
getCertificates()
Obtiene los Certificados en forma de Set ASN.1.
|
org.bouncycastle.asn1.ASN1Primitive |
getDigestAlgorithms()
Obtiene los algoritmos de huella digital en forma de Set ASN.1.
|
org.bouncycastle.asn1.cms.EncryptedContentInfo |
getEncryptedContentInfo()
Obtiene el EncryptedContentInfo.
|
static SignedAndEnvelopedData |
getInstance(java.lang.Object obj)
Obtiene un SignedAndEnvelopedData a partir de un objeto dado (que puede ser una secuencia ASN.1 o un mismo SignedAndEnvelopedData)
|
org.bouncycastle.asn1.ASN1Set |
getRecipientInfos()
Obtiene los RecipientInfo en forma de Set ASN.1.
|
org.bouncycastle.asn1.ASN1Set |
getSignerInfos()
Obtiene los SignerInfo en forma de Set ASN.1.
|
org.bouncycastle.asn1.ASN1Integer |
getVersion()
Obtiene la versión de la especificación usada.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
public SignedAndEnvelopedData(org.bouncycastle.asn1.ASN1Set recipientInfos, org.bouncycastle.asn1.ASN1Primitive digestAlgorithms, org.bouncycastle.asn1.cms.EncryptedContentInfo encryptedContentInfo, org.bouncycastle.asn1.ASN1Set certificates, org.bouncycastle.asn1.ASN1Set crls, org.bouncycastle.asn1.ASN1Set signerInfos)
recipientInfos
- RecipientInfodigestAlgorithms
- ALgoritmos de huella digitalencryptedContentInfo
- EncryptedContentInfocertificates
- Certificadoscrls
- Listas de revoación de certificadossignerInfos
- SignerInfopublic SignedAndEnvelopedData(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- Secuencia ASN.1 origenpublic static SignedAndEnvelopedData getInstance(java.lang.Object obj)
obj
- El objeto que queremos convertir en un SignedAndEnvelopedDatajava.lang.IllegalArgumentException
- si el objeto de entrada no puede ser convertidopublic org.bouncycastle.asn1.ASN1Integer getVersion()
1
public org.bouncycastle.asn1.ASN1Set getRecipientInfos()
public org.bouncycastle.asn1.ASN1Primitive getDigestAlgorithms()
public org.bouncycastle.asn1.cms.EncryptedContentInfo getEncryptedContentInfo()
public org.bouncycastle.asn1.ASN1Set getCertificates()
public org.bouncycastle.asn1.ASN1Set getSignerInfos()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
SignedAndEnvelopedData ::= SEQUENCE { version Version, recipientInfos RecipientInfos, digestAlgorithms DigestAlgorithmIdentifiers, encryptedContentInfo EncryptedContentInfo, certificates [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL, crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, signerInfos SignerInfos }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object