org.bouncycastle.asn1.ess
Class ContentHints
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.ess.ContentHints
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class ContentHints
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ContentHints
public ContentHints(ASN1ObjectIdentifier contentType)
ContentHints
public ContentHints(ASN1ObjectIdentifier contentType,
ASN1UTF8String contentDescription)
getInstance
public static ContentHints getInstance(java.lang.Object o)
getContentType
public ASN1ObjectIdentifier getContentType()
getContentDescription
public DERUTF8String getContentDescription()
- Deprecated. Use
getContentDescriptionUTF8()
instead.
getContentDescriptionUTF8
public ASN1UTF8String getContentDescriptionUTF8()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- ContentHints ::= SEQUENCE {
contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL,
contentType ContentType }
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.