Class Attribute

    • Method Detail

      • getInstance

        public static Attribute getInstance​(java.lang.Object o)
        return an Attribute object from the given object.
        Parameters:
        o - the object we want converted.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getAttrValues

        public ASN1Set getAttrValues()
      • toASN1Object

        public DERObject toASN1Object()
        Produce an object suitable for an ASN1OutputStream.
         Attribute ::= SEQUENCE {
             attrType OBJECT IDENTIFIER,
             attrValues SET OF AttributeValue
         }
         
        Specified by:
        toASN1Object in class ASN1Encodable