public class CertificateHolderAuthorizationTemplate
extends java.lang.Object
implements org.bouncycastle.asn1.ASN1Encodable
Constructor and Description |
---|
CertificateHolderAuthorizationTemplate(org.bouncycastle.asn1.ASN1ObjectIdentifier terminalType,
DiscretionaryData disData)
Constructor for Encoding a CHAT
|
CertificateHolderAuthorizationTemplate(org.bouncycastle.asn1.DERSequence chatSeq)
Constructor for Decoding CHAT from SEQUENCE
|
Modifier and Type | Method and Description |
---|---|
byte |
getRole() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Return an object, possibly constructed, of ASN.1 primitives
|
public CertificateHolderAuthorizationTemplate(org.bouncycastle.asn1.ASN1ObjectIdentifier terminalType, DiscretionaryData disData)
terminalType
- OID for the terminal type to usedisData
- public CertificateHolderAuthorizationTemplate(org.bouncycastle.asn1.DERSequence chatSeq) throws java.io.IOException
chatSeq
- java.io.IOException
public byte getRole()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable