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