org.mozilla.jss.pkcs11
public class PK11Cert extends Object implements X509Certificate
| Nested Class Summary | |
|---|---|
| protected static class | PK11Cert.StringPrincipal
A class that implements Principal with a String. |
| Field Summary | |
|---|---|
| protected CertProxy | certProxy |
| protected String | nickname |
| protected TokenProxy | tokenProxy |
| Method Summary | |
|---|---|
| byte[] | getEncoded() |
| Principal | getIssuerDN() |
| protected String | getIssuerDNString() |
| String | getNickname() |
| protected CryptoToken | getOwningToken() |
| PublicKey | getPublicKey() |
| BigInteger | getSerialNumber() |
| protected byte[] | getSerialNumberByteArray() |
| Principal | getSubjectDN() |
| protected 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.
|
Parameters: type SSL, EMAIL, or OBJECT_SIGNING.
Returns: The trust flags for this type of trust.
Parameters: type SSL, EMAIL, or OBJECT_SIGNING. trust The trust flags for this type of trust.