public class SignerAttribute
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
SignerAttribute(org.bouncycastle.asn1.x509.Attribute[] claimedAttributes) |
SignerAttribute(org.bouncycastle.asn1.x509.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.
|
org.bouncycastle.asn1.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.
|
public SignerAttribute(org.bouncycastle.asn1.x509.Attribute[] claimedAttributes)
public SignerAttribute(org.bouncycastle.asn1.x509.AttributeCertificate certifiedAttributes)
public static SignerAttribute getInstance(java.lang.Object o)
public java.lang.Object[] getValues()
public org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object