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] EXPLICIT IssuerSerial,
-- associated with a Public Key Certificate
subjectName [1] EXPLICIT GeneralNames },
-- associated with a name
| Modifier and Type | Field and Description |
|---|---|
| pack-priv IssuerSerial | |
| pack-priv GeneralNames | |
| pack-priv ObjectDigestInfo | |
| public static final int | |
| public static final int | |
| private int |
| Access | Constructor and Description |
|---|---|
| private | Holder(ASN1TaggedObject
The ASN.1 tagged holder object. tagObj)Constructor for a holder for an V1 attribute certificate. |
| private | Holder(ASN1Sequence
The ASN.1 sequence. seq)Constructor for a holder for an V2 attribute certificate. |
| public | |
| public | Holder(IssuerSerial
The IssuerSerial. baseCertificateID, int The version of the attribute certificate. version)Constructs a holder from a IssuerSerial for a V1 or V2 certificate. |
| public | Holder(GeneralNames
The entity or subject name. entityName)Constructs a holder with an entityName for V2 attribute certificates. |
| public | Holder(GeneralNames
The entity or subject name. entityName, int The version of the attribute certificate. version)Constructs a holder with an entityName for V2 attribute certificates or with a subjectName for V1 attribute certificates. |
| public | Holder(ObjectDigestInfo
The object digest info object. objectDigestInfo)Constructs a holder from an object digest info. |
| Modifier and Type | Method and Description |
|---|---|
| public IssuerSerial | |
| public GeneralNames | Returns: The entityname or subjectname.Returns the entityName for an V2 attribute certificate or the subjectName for an V1 attribute certificate. |
| public static Holder | |
| public ObjectDigestInfo | |
| public int | Returns: The version of the attribute certificate.Returns 1 for V2 attribute certificates or 0 for V1 attribute certificates. |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| baseCertificateID | back to summary |
|---|---|
| pack-priv IssuerSerial baseCertificateID | |
| entityName | back to summary |
|---|---|
| pack-priv GeneralNames entityName | |
| objectDigestInfo | back to summary |
|---|---|
| pack-priv ObjectDigestInfo objectDigestInfo | |
| V1_CERTIFICATE_HOLDER | back to summary |
|---|---|
| public static final int V1_CERTIFICATE_HOLDER | |
| V2_CERTIFICATE_HOLDER | back to summary |
|---|---|
| public static final int V2_CERTIFICATE_HOLDER | |
| version | back to summary |
|---|---|
| private int version | |
| Holder | back to summary |
|---|---|
| private Holder(ASN1TaggedObject tagObj) Constructor for a holder for an V1 attribute certificate.
| |
| Holder | back to summary |
|---|---|
| private Holder(ASN1Sequence seq) Constructor for a holder for an V2 attribute certificate.
| |
| Holder | back to summary |
|---|---|
| public Holder(IssuerSerial baseCertificateID) | |
| Holder | back to summary |
|---|---|
| public Holder(IssuerSerial baseCertificateID, int version) Constructs a holder from a IssuerSerial for a V1 or V2 certificate. .
| |
| Holder | back to summary |
|---|---|
| public Holder(GeneralNames entityName) Constructs a holder with an entityName for V2 attribute certificates.
| |
| Holder | back to summary |
|---|---|
| public Holder(GeneralNames entityName, int version) Constructs a holder with an entityName for V2 attribute certificates or with a subjectName for V1 attribute certificates.
| |
| Holder | back to summary |
|---|---|
| public Holder(ObjectDigestInfo objectDigestInfo) Constructs a holder from an object digest info.
| |
| getBaseCertificateID | back to summary |
|---|---|
| public IssuerSerial getBaseCertificateID() | |
| getEntityName | back to summary |
|---|---|
| public GeneralNames getEntityName() Returns the entityName for an V2 attribute certificate or the subjectName for an V1 attribute certificate.
| |
| getInstance | back to summary |
|---|---|
| public static Holder getInstance(Object obj) | |
| getObjectDigestInfo | back to summary |
|---|---|
| public ObjectDigestInfo getObjectDigestInfo() | |
| getVersion | back to summary |
|---|---|
| public int getVersion() Returns 1 for V2 attribute certificates or 0 for V1 attribute certificates.
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |