public class AttributeHolder extends Object implements org.bouncycastle.asn1.DEREncodable
Constructor and Description |
---|
AttributeHolder()
Empty constructor.
|
AttributeHolder(org.bouncycastle.asn1.ASN1Sequence seq)
Creates an AttributeHolder object from a Sequence.
|
Modifier and Type | Method and Description |
---|---|
List |
getAttributes()
Gets a list of Generic Attributes.
|
org.bouncycastle.asn1.DERObject |
getDERObject()
Makes a DERObject representation.
|
String |
getGrantor()
Gets the Grantor of these attributes.
|
static AttributeHolder |
getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
Static variant of the constructor.
|
public AttributeHolder()
public AttributeHolder(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- the SequenceIllegalArgumentException
- if there are parsing problems.public static AttributeHolder getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
AttributeHolder(ASN1Sequence seq)
public String getGrantor()
public List getAttributes()
public org.bouncycastle.asn1.DERObject getDERObject()
getDERObject
in interface org.bouncycastle.asn1.DEREncodable
Copyright © 2012. All Rights Reserved.