Package net.ripe.rpki.commons.crypto.cms
Class RPKISignedData
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- net.ripe.rpki.commons.crypto.cms.RPKISignedData
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class RPKISignedData extends org.bouncycastle.asn1.ASN1Object
-
-
Constructor Summary
Constructors Constructor Description RPKISignedData(org.bouncycastle.asn1.ASN1Set digestAlgorithms, org.bouncycastle.asn1.cms.ContentInfo contentInfo, org.bouncycastle.asn1.ASN1Set certificates, org.bouncycastle.asn1.ASN1Set crls, org.bouncycastle.asn1.ASN1Set signerInfos)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1SetgetCertificates()org.bouncycastle.asn1.ASN1SetgetCRLs()org.bouncycastle.asn1.ASN1SetgetDigestAlgorithms()org.bouncycastle.asn1.cms.ContentInfogetEncapContentInfo()static RPKISignedDatagetInstance(Object o)Return a SignedData object from the given object.org.bouncycastle.asn1.ASN1SetgetSignerInfos()org.bouncycastle.asn1.ASN1IntegergetVersion()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream.
-
-
-
Method Detail
-
getInstance
public static RPKISignedData getInstance(Object o)
Return a SignedData object from the given object.Accepted inputs:
- null → null
-
RPKISignedDataobject -
ASN1Sequenceinput formats with SignedData structure inside
- Parameters:
o- the object we want converted.- Returns:
- a reference that can be assigned to SignedData (may be null)
- Throws:
IllegalArgumentException- if the object cannot be converted.
-
getVersion
public org.bouncycastle.asn1.ASN1Integer getVersion()
-
getDigestAlgorithms
public org.bouncycastle.asn1.ASN1Set getDigestAlgorithms()
-
getEncapContentInfo
public org.bouncycastle.asn1.cms.ContentInfo getEncapContentInfo()
-
getCertificates
public org.bouncycastle.asn1.ASN1Set getCertificates()
-
getCRLs
public org.bouncycastle.asn1.ASN1Set getCRLs()
-
getSignerInfos
public org.bouncycastle.asn1.ASN1Set getSignerInfos()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
-