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(ASN1TaggedObject obj,
boolean explicit) |
static Attributes |
getInstance(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, toASN1Objectpublic Attributes(ASN1EncodableVector v)
public static Attributes getInstance(Object obj)
Accepted inputs:
Attributes object
ASN1Set input formats with Attributes structure inside
obj - the object we want converted.IllegalArgumentException - if the object cannot be converted.public static Attributes getInstance(ASN1TaggedObject obj, boolean explicit)
public Attribute[] getAttributes()
public ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1ObjectCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.