public class Attributes extends ASN1Object
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
Constructor and Description |
---|
Attributes(ASN1EncodableVector v) |
Modifier and Type | Method and Description |
---|---|
Attribute[] |
getAttributes() |
static Attributes |
getInstance(java.lang.Object obj)
Return an Attribute set object from the given object.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public Attributes(ASN1EncodableVector v)
public static Attributes getInstance(java.lang.Object obj)
Accepted inputs:
Attributes
object
ASN1Set
input formats with Attributes structure inside
obj
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public Attribute[] getAttributes()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object