Class Attributes

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.util.Encodable

    
    public class Attributes
    extends ASN1Object
                        

    RFC 5652 defines 5 "SET OF Attribute" entities with 5 different names. This is common implementation for them all:

      SignedAttributes      ::= SET SIZE (1..MAX) OF Attribute
      UnsignedAttributes    ::= SET SIZE (1..MAX) OF Attribute
      UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute
      AuthAttributes        ::= SET SIZE (1..MAX) OF Attribute
      UnauthAttributes      ::= SET SIZE (1..MAX) OF Attribute
    
    Attributes ::=
      SET SIZE(1..MAX) OF Attribute
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Attributes getInstance(Object obj) Return an Attribute set object from the given object.
      static Attributes getInstance(ASN1TaggedObject obj, boolean explicit)
      Array<Attribute> getAttributes()
      ASN1Primitive toASN1Primitive() Produce an object suitable for an ASN1OutputStream.
      • Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object

        encodeTo, encodeTo, equals, getEncoded, getEncoded, hashCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait