Top Description Fields Constructors Methods
org.bouncycastle.asn1.tsp

public Class CryptoInfos

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, org.bouncycastle.asn1.cms.Attribute

Implementation of the CryptoInfos element defined in RFC 4998:

CryptoInfos ::= SEQUENCE SIZE (1..MAX) OF Attribute

Field Summary

Modifier and TypeField and Description
private ASN1Sequence

Constructor Summary

AccessConstructor and Description
private
CryptoInfos(final ASN1Sequence attributes)

public

Method Summary

Modifier and TypeMethod and Description
public Attribute[]
public static CryptoInfos
getInstance(final Object obj)

public static CryptoInfos
getInstance(ASN1TaggedObject obj, boolean explicit)

public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

attributesback to summary
private ASN1Sequence attributes

Constructor Detail

CryptoInfosback to summary
private CryptoInfos(final ASN1Sequence attributes)
CryptoInfosback to summary
public CryptoInfos(Attribute[] attrs)

Method Detail

getAttributesback to summary
public Attribute[] getAttributes()
getInstanceback to summary
public static CryptoInfos getInstance(final Object obj)
getInstanceback to summary
public static CryptoInfos getInstance(ASN1TaggedObject obj, boolean explicit)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.