java.lang.Object | |
↳ | org.bouncycastle.cert.AttributeCertificateHolder |
The Holder object.
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 }
Note: If objectDigestInfo comparisons are to be carried out the static method setDigestCalculatorProvider must be called once to configure the class to do the necessary calculations.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a holder for v2 attribute certificates with a hash value for
some type of object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns algorithm identifier for the digest used if ObjectDigestInfo is present.
| |||||||||||
Returns the digest object type if an object digest info is used.
| |||||||||||
Return any principal objects inside the attribute certificate holder
entity names field.
| |||||||||||
Return the principals associated with the issuer attached to this holder
| |||||||||||
Returns the hash if an object digest info is used.
| |||||||||||
Returns the digest algorithm ID if an object digest info is used.
| |||||||||||
Return the serial number associated with the issuer attached to this
holder.
| |||||||||||
Set a digest calculator provider to be used if matches are attempted using
ObjectDigestInfo,
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.util.Selector
|
Constructs a holder for v2 attribute certificates with a hash value for some type of object.
digestedObjectType
can be one of the following:
otherObjectTypeID
must not be empty.
This cannot be used if a v1 attribute certificate is used.
digestedObjectType | The digest object type. |
---|---|
digestAlgorithm | The algorithm identifier for the hash. |
otherObjectTypeID | The object type ID if
digestedObjectType is
otherObjectDigest . |
objectDigest | The hash value. |
Returns algorithm identifier for the digest used if ObjectDigestInfo is present.
null
if ObjectDigestInfo is absent.
Returns the digest object type if an object digest info is used.
otherObjectTypeID
must not be empty.
Return any principal objects inside the attribute certificate holder entity names field.
Return the principals associated with the issuer attached to this holder
Returns the hash if an object digest info is used.
null
if ObjectDigestInfo is absent.
Returns the digest algorithm ID if an object digest info is used.
null
if no object
digest info is set.
Return the serial number associated with the issuer attached to this holder.
Set a digest calculator provider to be used if matches are attempted using ObjectDigestInfo,
digCalcProvider | a provider of digest calculators. |
---|