public class SignerAttribute extends ASN1Object
Constructor and Description |
---|
SignerAttribute(Attribute[] claimedAttributes) |
SignerAttribute(AttributeCertificate certifiedAttributes) |
Modifier and Type | Method and Description |
---|---|
static SignerAttribute |
getInstance(java.lang.Object o) |
java.lang.Object[] |
getValues()
Return the sequence of choices - the array elements will either be of
type Attribute[] or AttributeCertificate depending on what tag was used.
|
ASN1Primitive |
toASN1Primitive()
SignerAttribute ::= SEQUENCE OF CHOICE {
claimedAttributes [0] ClaimedAttributes,
certifiedAttributes [1] CertifiedAttributes }
ClaimedAttributes ::= SEQUENCE OF Attribute
CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public SignerAttribute(Attribute[] claimedAttributes)
public SignerAttribute(AttributeCertificate certifiedAttributes)
public static SignerAttribute getInstance(java.lang.Object o)
public java.lang.Object[] getValues()
public ASN1Primitive toASN1Primitive()
SignerAttribute ::= SEQUENCE OF CHOICE { claimedAttributes [0] ClaimedAttributes, certifiedAttributes [1] CertifiedAttributes } ClaimedAttributes ::= SEQUENCE OF Attribute CertifiedAttributes ::= AttributeCertificate -- as defined in RFC 3281: see clause 4.1.
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object