public class GenericAttribute
extends java.lang.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.
|
java.lang.String |
getName()
Gets the name of the attribute
|
java.lang.String |
getQualifier()
Gets the qualifier of the attribute
|
java.lang.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 Sequencejava.lang.IllegalArgumentException
- if there are parsing problems.public static GenericAttribute getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
GenericAttribute(ASN1Sequence seq)
public java.lang.String getName()
public java.lang.String getValue()
public java.lang.String getQualifier()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
Copyright © 2013. All Rights Reserved.