Top Fields Constructors Methods
org.bouncycastle.asn1.ess

public Class ContentHints

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1UTF8String, .DERSequence, .DERUTF8String

Field Summary

Modifier and TypeField and Description
private ASN1UTF8String
private ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
private
ContentHints(ASN1Sequence seq)

constructor

public
public
ContentHints(ASN1ObjectIdentifier contentType, ASN1UTF8String contentDescription)

Method Summary

Modifier and TypeMethod and Description
public DERUTF8String
public ASN1UTF8String
public ASN1ObjectIdentifier
public static ContentHints
public ASN1Primitive
toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

ContentHints ::= SEQUENCE {
  contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
  contentType ContentType }
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

contentDescriptionback to summary
private ASN1UTF8String contentDescription
contentTypeback to summary
private ASN1ObjectIdentifier contentType

Constructor Detail

ContentHintsback to summary
private ContentHints(ASN1Sequence seq)

constructor

ContentHintsback to summary
public ContentHints(ASN1ObjectIdentifier contentType)
ContentHintsback to summary
public ContentHints(ASN1ObjectIdentifier contentType, ASN1UTF8String contentDescription)

Method Detail

getContentDescriptionback to summary
public DERUTF8String getContentDescription()

Deprecated

Use getContentDescriptionUTF8() instead.

getContentDescriptionUTF8back to summary
public ASN1UTF8String getContentDescriptionUTF8()
getContentTypeback to summary
public ASN1ObjectIdentifier getContentType()
getInstanceback to summary
public static ContentHints getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

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

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

ContentHints ::= SEQUENCE {
  contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
  contentType ContentType }
Returns:ASN1Primitive

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

a primitive representation of this object.