public class GenericAttribute extends Object implements org.bouncycastle.asn1.ASN1Encodable
| Constructor and Description |
|---|
GenericAttribute()
Empty contructor
|
GenericAttribute(org.bouncycastle.asn1.ASN1Sequence seq)
Creates a GenericAttributes object from a sequence.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericAttribute |
getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
Static variant of the constructor.
|
String |
getName()
Gets the name of the attribute
|
String |
getQualifier()
Gets the qualifier of the attribute
|
String |
getValue()
Gets the value of the attribute
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Makes a DERObject representation.
|
public GenericAttribute()
public GenericAttribute(org.bouncycastle.asn1.ASN1Sequence seq)
seq - the SequenceIllegalArgumentException - if there are parsing problems.public static GenericAttribute getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
GenericAttribute(ASN1Sequence seq)public String getName()
public String getValue()
public String getQualifier()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodableCopyright © 2014. All rights reserved.