public class AttrOrOID extends ASN1Object implements ASN1Choice
AttrOrOID ::= CHOICE (oid OBJECT IDENTIFIER, attribute Attribute }
Constructor and Description |
---|
AttrOrOID(ASN1ObjectIdentifier oid) |
AttrOrOID(Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute() |
static AttrOrOID |
getInstance(Object obj) |
ASN1ObjectIdentifier |
getOid() |
boolean |
isOid() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public AttrOrOID(ASN1ObjectIdentifier oid)
public AttrOrOID(Attribute attribute)
public boolean isOid()
public ASN1ObjectIdentifier getOid()
public Attribute getAttribute()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2020 BouncyCastle.org. All rights reserved.