|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.mozilla.jss.pkcs11.PK11Cert
| Nested Class Summary | |
protected static class |
PK11Cert.StringPrincipal
A class that implements Principal with a String. |
| Field Summary | |
protected CertProxy |
certProxy
|
| Constructor Summary | |
(package private) |
PK11Cert(byte[] pointer)
|
| Method Summary | |
byte[] |
getEncoded()
Returns the DER encoding of this certificate. |
java.security.Principal |
getIssuerDN()
Returns the RFC 1485 ASCII encoding of the issuer's Subject Name. |
protected java.lang.String |
getIssuerDNString()
|
java.lang.String |
getNickname()
Returns the possibly-null nickname of this certificate. |
protected CryptoToken |
getOwningToken()
|
java.security.PublicKey |
getPublicKey()
Extracts the Public Key from this certificate. |
java.math.BigInteger |
getSerialNumber()
Returns the serial number of this certificate. |
protected byte[] |
getSerialNumberByteArray()
|
java.security.Principal |
getSubjectDN()
Returns the RFC 1485 ASCII encoding of the Subject Name. |
protected java.lang.String |
getSubjectDNString()
|
protected int |
getTrust(int type)
Gets the trust flags for this cert. |
protected byte[] |
getUniqueID()
|
int |
getVersion()
|
protected void |
setTrust(int type,
int trust)
Sets the trust flags for this cert. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected CertProxy certProxy
| Constructor Detail |
PK11Cert(byte[] pointer)
| Method Detail |
public byte[] getEncoded()
throws java.security.cert.CertificateEncodingException
X509Certificate
getEncoded in interface X509Certificatejava.security.cert.CertificateEncodingExceptionpublic java.lang.String getNickname()
X509Certificate
getNickname in interface X509Certificatepublic java.security.Principal getSubjectDN()
X509Certificate
getSubjectDN in interface X509Certificatepublic java.security.Principal getIssuerDN()
X509Certificate
getIssuerDN in interface X509Certificatepublic java.math.BigInteger getSerialNumber()
X509Certificate
getSerialNumber in interface X509Certificateprotected byte[] getSerialNumberByteArray()
protected java.lang.String getSubjectDNString()
protected java.lang.String getIssuerDNString()
public java.security.PublicKey getPublicKey()
X509Certificate
getPublicKey in interface X509Certificatepublic int getVersion()
getVersion in interface X509Certificateprotected byte[] getUniqueID()
protected CryptoToken getOwningToken()
protected void setTrust(int type,
int trust)
type - SSL, EMAIL, or OBJECT_SIGNING.trust - The trust flags for this type of trust.protected int getTrust(int type)
type - SSL, EMAIL, or OBJECT_SIGNING.
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||