Class MetaData

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class MetaData
    extends ASN1Object
    RFC 5544: Binding Documents with Time-Stamps; MetaData object.

     MetaData ::= SEQUENCE {
       hashProtected        BOOLEAN,
       fileName             UTF8String OPTIONAL,
       mediaType            IA5String OPTIONAL,
       otherMetaData        Attributes OPTIONAL
     }
     
    • Method Detail

      • getInstance

        public static MetaData getInstance​(java.lang.Object obj)
        Return a MetaData object from the given object.

        Accepted inputs:

        Parameters:
        obj - the object we want converted.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • isHashProtected

        public boolean isHashProtected()
      • getOtherMetaData

        public Attributes getOtherMetaData()