java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.Holder |
The Holder object.
For an v2 attribute certificate this is:
Holder ::= SEQUENCE { baseCertificateID [0] IssuerSerial OPTIONAL, -- the issuer and serial number of -- the holder's Public Key Certificate entityName [1] GeneralNames OPTIONAL, -- the name of the claimant or role objectDigestInfo [2] ObjectDigestInfo OPTIONAL -- used to directly authenticate the holder, -- for example, an executable }
For an v1 attribute certificate this is:
subject CHOICE { baseCertificateID [0] IssuerSerial, -- associated with a Public Key Certificate subjectName [1] GeneralNames }, -- associated with a name
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for a holder for an v1 attribute certificate.
| |||||||||||
Constructor for a holder for an v2 attribute certificate.
| |||||||||||
Constructs a holder from a IssuerSerial.
| |||||||||||
Constructs a holder with an entityName for v2 attribute certificates or
with a subjectName for v1 attribute certificates.
| |||||||||||
Constructs a holder with an entityName for v2 attribute certificates or
with a subjectName for v1 attribute certificates.
| |||||||||||
Constructs a holder from an object digest info.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the entityName for an v2 attribute certificate or the subjectName
for an v1 attribute certificate.
| |||||||||||
Returns 1 for v2 attribute certificates or 0 for v1 attribute
certificates.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
Constructor for a holder for an v1 attribute certificate.
tagObj | The ASN.1 tagged holder object. |
---|
Constructor for a holder for an v2 attribute certificate. *
seq | The ASN.1 sequence. |
---|
Constructs a holder from a IssuerSerial.
baseCertificateID | The IssuerSerial. |
---|---|
version | The version of the attribute certificate. |
Constructs a holder with an entityName for v2 attribute certificates or with a subjectName for v1 attribute certificates.
entityName | The entity or subject name. |
---|
Constructs a holder with an entityName for v2 attribute certificates or with a subjectName for v1 attribute certificates.
entityName | The entity or subject name. |
---|---|
version | The version of the attribute certificate. |
Constructs a holder from an object digest info.
objectDigestInfo | The object digest info object. |
---|
Returns the entityName for an v2 attribute certificate or the subjectName for an v1 attribute certificate.
Returns 1 for v2 attribute certificates or 0 for v1 attribute certificates.