public class AttrOrOID
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
AttrOrOID ::= CHOICE (oid OBJECT IDENTIFIER, attribute Attribute }
Constructor and Description |
---|
AttrOrOID(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) |
AttrOrOID(org.bouncycastle.asn1.pkcs.Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.pkcs.Attribute |
getAttribute() |
static AttrOrOID |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOid() |
boolean |
isOid() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public AttrOrOID(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
public AttrOrOID(org.bouncycastle.asn1.pkcs.Attribute attribute)
public static AttrOrOID getInstance(java.lang.Object obj)
public boolean isOid()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getOid()
public org.bouncycastle.asn1.pkcs.Attribute getAttribute()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object