Package org.gudy.bouncycastle.x509
Class AttributeCertificateIssuer
- java.lang.Object
-
- org.gudy.bouncycastle.x509.AttributeCertificateIssuer
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ASN1Encodable
form
-
Constructor Summary
Constructors Constructor Description AttributeCertificateIssuer(javax.security.auth.x500.X500Principal principal)
AttributeCertificateIssuer(AttCertIssuer issuer)
Set the issuer directly with the ASN.1 structure.AttributeCertificateIssuer(X509Principal principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
boolean
equals(java.lang.Object obj)
private java.lang.Object[]
getNames()
java.security.Principal[]
getPrincipals()
Return any principal objects inside the attribute certificate issuer object.int
hashCode()
boolean
match(java.lang.Object obj)
boolean
match(java.security.cert.Certificate cert)
private boolean
matchesDN(javax.security.auth.x500.X500Principal subject, GeneralNames targets)
-
-
-
Field Detail
-
form
final ASN1Encodable form
-
-
Constructor Detail
-
AttributeCertificateIssuer
AttributeCertificateIssuer(AttCertIssuer issuer)
Set the issuer directly with the ASN.1 structure.- Parameters:
issuer
- The issuer
-
AttributeCertificateIssuer
public AttributeCertificateIssuer(javax.security.auth.x500.X500Principal principal) throws java.io.IOException
- Throws:
java.io.IOException
-
AttributeCertificateIssuer
public AttributeCertificateIssuer(X509Principal principal)
-
-
Method Detail
-
getNames
private java.lang.Object[] getNames()
-
getPrincipals
public java.security.Principal[] getPrincipals()
Return any principal objects inside the attribute certificate issuer object.- Returns:
- an array of Principal objects (usually X500Principal)
-
matchesDN
private boolean matchesDN(javax.security.auth.x500.X500Principal subject, GeneralNames targets)
-
clone
public java.lang.Object clone()
-
match
public boolean match(java.security.cert.Certificate cert)
- Specified by:
match
in interfacejava.security.cert.CertSelector
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-