public class ContentHints extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private DERUTF8String |
contentDescription |
private ASN1ObjectIdentifier |
contentType |
Modifier | Constructor and Description |
---|---|
|
ContentHints(ASN1ObjectIdentifier contentType) |
|
ContentHints(ASN1ObjectIdentifier contentType,
DERUTF8String contentDescription) |
private |
ContentHints(ASN1Sequence seq)
constructor
|
Modifier and Type | Method and Description |
---|---|
DERUTF8String |
getContentDescription() |
ASN1ObjectIdentifier |
getContentType() |
static ContentHints |
getInstance(Object o) |
ASN1Primitive |
toASN1Primitive()
ContentHints ::= SEQUENCE {
contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
contentType ContentType }
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private DERUTF8String contentDescription
private ASN1ObjectIdentifier contentType
private ContentHints(ASN1Sequence seq)
public ContentHints(ASN1ObjectIdentifier contentType)
public ContentHints(ASN1ObjectIdentifier contentType, DERUTF8String contentDescription)
public static ContentHints getInstance(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