Class Attribute

java.lang.Object
org.gudy.bouncycastle.asn1.pkcs.Attribute
All Implemented Interfaces:
DEREncodable

public class Attribute extends Object implements DEREncodable
  • Field Details

  • Constructor Details

  • Method Details

    • getInstance

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

      public DERObjectIdentifier getAttrType()
    • getAttrValues

      public ASN1Set getAttrValues()
    • getDERObject

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