public class CertificateHolderAuthorization
extends org.bouncycastle.asn1.ASN1Object
Certificate Holder Authorization ::= SEQUENCE { // specifies the format and the rules for the evaluation of the authorization // level ASN1ObjectIdentifier oid, // access rights ASN1TaggedObject accessRights, }
Modifier and Type | Field and Description |
---|---|
static int |
CVCA |
static int |
DV_DOMESTIC |
static int |
DV_FOREIGN |
static org.bouncycastle.asn1.ASN1ObjectIdentifier |
id_role_EAC |
static int |
IS |
static int |
RADG3 |
static int |
RADG4 |
Constructor and Description |
---|
CertificateHolderAuthorization(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
int rights)
create an Iso7816CertificateHolderAuthorization according to the parameters
|
CertificateHolderAuthorization(org.bouncycastle.asn1.ASN1TaggedObject aSpe)
create an Iso7816CertificateHolderAuthorization according to the
ASN1TaggedObject |
Modifier and Type | Method and Description |
---|---|
int |
getAccessRights() |
static int |
getFlag(java.lang.String description) |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getOid() |
static java.lang.String |
getRoleDescription(int i) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
return the Certificate Holder Authorization as an ASN1TaggedObject
|
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier id_role_EAC
public static final int CVCA
public static final int DV_DOMESTIC
public static final int DV_FOREIGN
public static final int IS
public static final int RADG4
public static final int RADG3
public CertificateHolderAuthorization(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, int rights) throws java.io.IOException
oid
- Object Identifier : specifies the format and the rules for the
evaluatioin of the authorization level.rights
- specifies the access rightsjava.io.IOException
public CertificateHolderAuthorization(org.bouncycastle.asn1.ASN1TaggedObject aSpe) throws java.io.IOException
ASN1TaggedObject
aSpe
- the ASN1TaggedObject containing the datajava.io.IOException
public static java.lang.String getRoleDescription(int i)
public static int getFlag(java.lang.String description)
public int getAccessRights()
public org.bouncycastle.asn1.ASN1ObjectIdentifier getOid()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object