org.bouncycastle.asn1.ess

Class ContentHints

public class ContentHints extends ASN1Encodable

Constructor Summary
ContentHints(DERObjectIdentifier contentType)
ContentHints(DERObjectIdentifier contentType, DERUTF8String contentDescription)
Method Summary
DERUTF8StringgetContentDescription()
DERObjectIdentifiergetContentType()
static ContentHintsgetInstance(Object o)
DERObjecttoASN1Object()
 ContentHints ::= SEQUENCE {
   contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
   contentType ContentType }
 

Constructor Detail

ContentHints

public ContentHints(DERObjectIdentifier contentType)

ContentHints

public ContentHints(DERObjectIdentifier contentType, DERUTF8String contentDescription)

Method Detail

getContentDescription

public DERUTF8String getContentDescription()

getContentType

public DERObjectIdentifier getContentType()

getInstance

public static ContentHints getInstance(Object o)

toASN1Object

public DERObject toASN1Object()
 ContentHints ::= SEQUENCE {
   contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
   contentType ContentType }