Top Fields Constructors Methods
org.bouncycastle.asn1.ess

public Class ContentIdentifier

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1OctetString, .ASN1Primitive, .DEROctetString

Field Summary

Modifier and TypeField and Description
pack-priv ASN1OctetString

Constructor Summary

AccessConstructor and Description
private
ContentIdentifier(ASN1OctetString value)

Create from OCTET STRING whose octets represent the identifier.

public
ContentIdentifier(byte[] value)

Create from byte array representing the identifier.

Method Summary

Modifier and TypeMethod and Description
public static ContentIdentifier
public ASN1OctetString
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

The definition of ContentIdentifier is
ContentIdentifier ::=  OCTET STRING
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

valueback to summary
pack-priv ASN1OctetString value

Constructor Detail

ContentIdentifierback to summary
private ContentIdentifier(ASN1OctetString value)

Create from OCTET STRING whose octets represent the identifier.

ContentIdentifierback to summary
public ContentIdentifier(byte[] value)

Create from byte array representing the identifier.

Method Detail

getInstanceback to summary
public static ContentIdentifier getInstance(Object o)
getValueback to summary
public ASN1OctetString getValue()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

The definition of ContentIdentifier is

ContentIdentifier ::=  OCTET STRING
id-aa-contentIdentifier OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9) smime(16) id-aa(2) 7 }
Returns:ASN1Primitive

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

a primitive representation of this object.