public class ContentHints extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private DERUTF8String |
contentDescription |
private DERObjectIdentifier |
contentType |
BER, DER
Modifier | Constructor and Description |
---|---|
private |
ContentHints(ASN1Sequence seq)
constructor
|
|
ContentHints(DERObjectIdentifier contentType) |
|
ContentHints(DERObjectIdentifier contentType,
DERUTF8String contentDescription) |
Modifier and Type | Method and Description |
---|---|
DERUTF8String |
getContentDescription() |
DERObjectIdentifier |
getContentType() |
static ContentHints |
getInstance(java.lang.Object o) |
DERObject |
toASN1Object()
ContentHints ::= SEQUENCE {
contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
contentType ContentType }
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private DERUTF8String contentDescription
private DERObjectIdentifier contentType
private ContentHints(ASN1Sequence seq)
public ContentHints(DERObjectIdentifier contentType)
public ContentHints(DERObjectIdentifier contentType, DERUTF8String contentDescription)
public static ContentHints getInstance(java.lang.Object o)
public DERObjectIdentifier getContentType()
public DERUTF8String getContentDescription()
public DERObject toASN1Object()
ContentHints ::= SEQUENCE { contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL, contentType ContentType }
toASN1Object
in class ASN1Encodable
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.