|
Bouncy Castle Cryptography 1.27 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.x509.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 }
Constructor Summary | |
AttributeCertificateHolder(java.security.cert.X509Certificate cert)
|
|
AttributeCertificateHolder(X509Principal principal)
|
Method Summary | |
java.lang.Object |
clone()
Makes a copy of this CertSelector . |
java.security.Principal[] |
getEntityNames()
Return any principal objects inside the attribute certificate holder entity names field. |
java.security.Principal[] |
getIssuer()
Return the principals associated with the issuer attached to this holder |
java.math.BigInteger |
getSerialNumber()
Return the serial number associated with the issuer attached to this holder. |
boolean |
match(java.security.cert.Certificate cert)
Decides whether a Certificate should be selected. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeCertificateHolder(java.security.cert.X509Certificate cert) throws java.security.cert.CertificateParsingException
public AttributeCertificateHolder(X509Principal principal)
Method Detail |
public java.security.Principal[] getEntityNames()
public java.security.Principal[] getIssuer()
public java.math.BigInteger getSerialNumber()
public java.lang.Object clone()
CertSelector
CertSelector
. Changes to the
copy will not affect the original and vice versa.
clone
in interface CertSelector
clone
in class java.lang.Object
CertSelector
public boolean match(java.security.cert.Certificate cert)
CertSelector
Certificate
should be selected.
match
in interface CertSelector
cert
- the Certificate
to be checked
true
if the Certificate
should be selected, false
otherwise
|
Bouncy Castle Cryptography 1.27 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |