public class Signed
extends java.lang.Object
| Constructor and Description |
|---|
Signed() |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1Encodable |
asASN1() |
static Signed |
fromASN1(org.bouncycastle.asn1.DEREncodable content)
SignedData ::= SEQUENCE {
version Version,
digestAlgorithms DigestAlgorithmIdentifiers,
contentInfo ContentInfo,
certificates [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL,
crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
signerInfos SignerInfos }
Version ::= INTEGER
DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier
SignerInfos ::= SET OF SignerInfo
|
java.util.Collection<X509AuxCertificate> |
getCert()
Get the
Cert value. |
PKCS7 |
getContents()
Get the
Contents value. |
java.util.Collection<java.security.cert.X509CRL> |
getCrl()
Get the
Crl value. |
java.util.Set<org.bouncycastle.asn1.x509.AlgorithmIdentifier> |
getMdAlgs()
Get the
MdAlgs value. |
java.util.Collection<SignerInfoWithPkey> |
getSignerInfo()
Get the
SignerInfo value. |
int |
getVersion()
Get the
Version value. |
void |
setCert(java.util.Collection<X509AuxCertificate> newCert)
Set the
Cert value. |
void |
setContents(PKCS7 newContents)
Set the
Contents value. |
void |
setCrl(java.util.Collection<java.security.cert.X509CRL> newCrl)
Set the
Crl value. |
void |
setMdAlgs(java.util.Set<org.bouncycastle.asn1.x509.AlgorithmIdentifier> newMdAlgs)
Set the
MdAlgs value. |
void |
setSignerInfo(java.util.Collection<SignerInfoWithPkey> newSignerInfo)
Set the
SignerInfo value. |
void |
setVersion(int newVersion)
Set the
Version value. |
java.lang.String |
toString() |
public final int getVersion()
Version value.int valuepublic final void setVersion(int newVersion)
Version value.newVersion - The new Version value.public final java.util.Collection<SignerInfoWithPkey> getSignerInfo()
SignerInfo value.Collection valuepublic final void setSignerInfo(java.util.Collection<SignerInfoWithPkey> newSignerInfo)
SignerInfo value.newSignerInfo - The new SignerInfo value.public final java.util.Set<org.bouncycastle.asn1.x509.AlgorithmIdentifier> getMdAlgs()
MdAlgs value.Set valuepublic final void setMdAlgs(java.util.Set<org.bouncycastle.asn1.x509.AlgorithmIdentifier> newMdAlgs)
MdAlgs value.newMdAlgs - The new MdAlgs value.public final PKCS7 getContents()
Contents value.PKCS7 valuepublic final void setContents(PKCS7 newContents)
Contents value.newContents - The new Contents value.public final java.util.Collection<X509AuxCertificate> getCert()
Cert value.Collection valuepublic final void setCert(java.util.Collection<X509AuxCertificate> newCert)
Cert value.newCert - The new Cert value.public final java.util.Collection<java.security.cert.X509CRL> getCrl()
Crl value.Set valuepublic final void setCrl(java.util.Collection<java.security.cert.X509CRL> newCrl)
Crl value.newCrl - The new Crl value.public java.lang.String toString()
toString in class java.lang.Objectpublic org.bouncycastle.asn1.ASN1Encodable asASN1()
public static Signed fromASN1(org.bouncycastle.asn1.DEREncodable content) throws PKCS7Exception
PKCS7ExceptionCopyright © 2002-2009 JRuby Team. All Rights Reserved.