Package org.bouncycastle.asn1.ess
Class ContentHints
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ess.ContentHints
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class ContentHints
extends org.bouncycastle.asn1.ASN1Object
-
Constructor Summary
ConstructorDescriptionContentHints
(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) ContentHints
(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.ASN1UTF8String contentDescription) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.DERUTF8String
Deprecated.org.bouncycastle.asn1.ASN1UTF8String
org.bouncycastle.asn1.ASN1ObjectIdentifier
static ContentHints
org.bouncycastle.asn1.ASN1Primitive
ContentHints ::= SEQUENCE { contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL, contentType ContentType }Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
ContentHints
public ContentHints(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) -
ContentHints
public ContentHints(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.ASN1UTF8String contentDescription)
-
-
Method Details
-
getInstance
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType() -
getContentDescription
public org.bouncycastle.asn1.DERUTF8String getContentDescription()Deprecated.UsegetContentDescriptionUTF8()
instead. -
getContentDescriptionUTF8
public org.bouncycastle.asn1.ASN1UTF8String getContentDescriptionUTF8() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()ContentHints ::= SEQUENCE { contentDescription UTF8String (SIZE (1..MAX)) OPTIONAL, contentType ContentType }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-
getContentDescriptionUTF8()
instead.