Deprecated
use org.bouncycastle.cert.AttributeCertificateHolder
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
}
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | AttributeCertificateHolder(X509Principal issuerName, BigInteger serialNumber)
Deprecated
as a consequence of
X509Principal being deprecated.
|
| public | |
| public | |
| public | AttributeCertificateHolder(X509Principal principal)
Deprecated
as a consequence of
X509Principal being deprecated.
|
| public | |
| public | AttributeCertificateHolder(int
The digest object type. digestedObjectType, String The algorithm identifier for the hash. digestAlgorithm, String The object type ID if
otherObjectTypeID, byte[] digestedObjectType is
otherObjectDigest.The hash value. objectDigest)Constructs a holder for v2 attribute certificates with a hash value for some type of object. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements java. CertSelector.
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| private GeneralNames | generateGeneralNames(X509Principal principal)
Deprecated
as a consequence of
X509Principal being deprecated.
|
| public String | Returns: The other object type ID ornull if no object
digest info is set.Returns the other object type ID if an object digest info is used. |
| public int | Returns: The digest object type or -1 if no object digest info is set.Returns the digest object type if an object digest info is used. |
| public Principal[] | Returns: an array of Principal objects (usually X500Principal), null if no entity names field is set.Return any principal objects inside the attribute certificate holder entity names field. |
| public Principal[] | Returns: an array of principals, null if no BaseCertificateID is set.Return the principals associated with the issuer attached to this holder |
| private Object[] | |
| public byte[] | Returns: The hash ornull if no object digest info is set.Returns the hash if an object digest info is used. |
| public String | Returns: The digest algorithm ID ornull if no object
digest info is set.Returns the digest algorithm ID if an object digest info is used. |
| private Principal[] | |
| public BigInteger | Returns: the certificate serial number, null if no BaseCertificateID is set.Return the serial number associated with the issuer attached to this holder. |
| public int | |
| public boolean | match(Certificate
the cert)Certificate to be checkedImplements java. Certificate should be selected.
|
| public boolean | match(Object
the object to be matched. obj)Implements org. |
| private boolean | matchesDN(X509Principal subject, GeneralNames targets)
Deprecated
as a consequence of
X509Principal being deprecated.
|
| holder | back to summary |
|---|---|
| pack-priv final Holder holder | |
| AttributeCertificateHolder | back to summary |
|---|---|
| pack-priv AttributeCertificateHolder(ASN1Sequence seq) | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(X509Principal issuerName, BigInteger serialNumber)
Deprecated as a consequence of | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(X500Principal issuerName, BigInteger serialNumber) | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(X509Certificate cert) throws CertificateParsingException | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(X509Principal principal)
Deprecated as a consequence of | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(X500Principal principal) | |
| AttributeCertificateHolder | back to summary |
|---|---|
| public AttributeCertificateHolder(int digestedObjectType, String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest) Constructs a holder for v2 attribute certificates with a hash value for some type of object.
This cannot be used if a v1 attribute certificate is used. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements java. Doc from java. Makes a copy of this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| generateGeneralNames | back to summary |
|---|---|
| private GeneralNames generateGeneralNames(X509Principal principal)
Deprecated as a consequence of | |
| getDigestAlgorithm | back to summary |
|---|---|
| public String getDigestAlgorithm() Returns the other object type ID if an object digest info is used.
| |
| getDigestedObjectType | back to summary |
|---|---|
| public int getDigestedObjectType() Returns the digest object type if an object digest info is used.
| |
| getEntityNames | back to summary |
|---|---|
| public Principal[] getEntityNames() Return any principal objects inside the attribute certificate holder entity names field.
| |
| getIssuer | back to summary |
|---|---|
| public Principal[] getIssuer() Return the principals associated with the issuer attached to this holder
| |
| getNames | back to summary |
|---|---|
| private Object[] getNames(GeneralName[] names) | |
| getObjectDigest | back to summary |
|---|---|
| public byte[] getObjectDigest() Returns the hash if an object digest info is used.
| |
| getOtherObjectTypeID | back to summary |
|---|---|
| public String getOtherObjectTypeID() Returns the digest algorithm ID if an object digest info is used.
| |
| getPrincipals | back to summary |
|---|---|
| private Principal[] getPrincipals(GeneralNames names) | |
| getSerialNumber | back to summary |
|---|---|
| public BigInteger getSerialNumber() Return the serial number associated with the issuer attached to this holder.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| match | back to summary |
|---|---|
| public boolean match(Certificate cert) Implements java. Doc from java. Decides whether a
| |
| match | back to summary |
|---|---|
| public boolean match(Object obj) Implements org. Doc from org. Match the passed in object, returning true if it would be selected by this selector, false otherwise.
| |
| matchesDN | back to summary |
|---|---|
| private boolean matchesDN(X509Principal subject, GeneralNames targets)
Deprecated as a consequence of | |