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

    Constructors
    Constructor
    Description
    ContentHints(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType)
     
    ContentHints(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.ASN1UTF8String contentDescription)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.DERUTF8String
    Deprecated.
    org.bouncycastle.asn1.ASN1UTF8String
     
    org.bouncycastle.asn1.ASN1ObjectIdentifier
     
     
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static ContentHints getInstance(Object o)
    • getContentType

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
    • getContentDescription

      public org.bouncycastle.asn1.DERUTF8String getContentDescription()
      Deprecated.
    • 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 interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object