public class ContentHints extends ASN1Object
Constructor and Description |
---|
ContentHints(ASN1ObjectIdentifier contentType) |
ContentHints(ASN1ObjectIdentifier contentType,
DERUTF8String contentDescription) |
Modifier and Type | Method and Description |
---|---|
DERUTF8String |
getContentDescription() |
ASN1ObjectIdentifier |
getContentType() |
static ContentHints |
getInstance(java.lang.Object o) |
ASN1Primitive |
toASN1Primitive()
ContentHints ::= SEQUENCE {
contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
contentType ContentType }
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public ContentHints(ASN1ObjectIdentifier contentType)
public ContentHints(ASN1ObjectIdentifier contentType, DERUTF8String contentDescription)
public static ContentHints getInstance(java.lang.Object o)
public ASN1ObjectIdentifier getContentType()
public DERUTF8String getContentDescription()
public ASN1Primitive toASN1Primitive()
ContentHints ::= SEQUENCE { contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL, contentType ContentType }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object