Class PKCS12
java.lang.Object
org.mozilla.jss.netscape.security.pkcs.PKCS12
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OBJECT_IDENTIFIER(package private) Map<BigInteger,PKCS12CertInfo> (package private) Map<BigInteger,PKCS12CertInfo> static final intDeprecated.Use PK11Cert.GOVT_APPROVED_CA instead.static final intDeprecated.Use PK11Cert.INVISIBLE_CA instead.(package private) Map<BigInteger,PKCS12KeyInfo> static final intDeprecated.Use PK11Cert.NS_TRUSTED_CA instead.static final OBJECT_IDENTIFIERstatic final OBJECT_IDENTIFIERstatic final OBJECT_IDENTIFIERstatic final intDeprecated.Use PK11Cert.SEND_WARN instead.static final intDeprecated.Use PK11Cert.VALID_PEER instead.static final intDeprecated.Use PK11Cert.TRUSTED_PEER instead.static final intDeprecated.Use PK11Cert.TRUSTED_CA instead.static final intDeprecated.Use PK11Cert.TRUSTED_CLIENT_CA instead.static final intDeprecated.Use PK11Cert.USER instead.static final intDeprecated.Use PK11Cert.VALID_CA instead. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCertInfo(PKCS12CertInfo certInfo, boolean replace) voidaddKeyInfo(PKCS12KeyInfo keyInfo) static intdecodeFlags(String flags) Deprecated.Use PK11Cert.decodeTrustFlags() instead.static StringencodeFlags(int flags) Deprecated.Use PK11Cert.encodeTrustFlags() instead.getCertInfoByID(byte[] id) getCertInfoByKeyID(byte[] keyID) getCertInfosByFriendlyName(String friendlyName) getKeyInfoByID(byte[] id) static booleanisFlagEnabled(int flag, int flags) Deprecated.Use PK11Cert.isTrustFlagEnabled() instead.voidremoveCertInfoByFriendlyName(String friendlyName) removeKeyInfoByID(byte[] id)
-
Field Details
-
PKI_OID
-
PKCS12_OID
-
PKCS12_ATTRIBUTES_OID
-
CERT_TRUST_FLAGS_OID
-
TERMINAL_RECORD
Deprecated.Use PK11Cert.VALID_PEER instead.- See Also:
-
TRUSTED
Deprecated.Use PK11Cert.TRUSTED_PEER instead.- See Also:
-
SEND_WARN
Deprecated.Use PK11Cert.SEND_WARN instead.- See Also:
-
VALID_CA
Deprecated.Use PK11Cert.VALID_CA instead.- See Also:
-
TRUSTED_CA
Deprecated.Use PK11Cert.TRUSTED_CA instead.- See Also:
-
NS_TRUSTED_CA
Deprecated.Use PK11Cert.NS_TRUSTED_CA instead.- See Also:
-
USER
Deprecated.Use PK11Cert.USER instead.- See Also:
-
TRUSTED_CLIENT_CA
Deprecated.Use PK11Cert.TRUSTED_CLIENT_CA instead.- See Also:
-
INVISIBLE_CA
Deprecated.Use PK11Cert.INVISIBLE_CA instead.- See Also:
-
GOVT_APPROVED_CA
Deprecated.Use PK11Cert.GOVT_APPROVED_CA instead.- See Also:
-
keyInfosByID
Map<BigInteger,PKCS12KeyInfo> keyInfosByID -
certInfosByID
Map<BigInteger,PKCS12CertInfo> certInfosByID -
certInfosByKeyID
Map<BigInteger,PKCS12CertInfo> certInfosByKeyID
-
-
Constructor Details
-
PKCS12
public PKCS12()
-
-
Method Details
-
isFlagEnabled
Deprecated.Use PK11Cert.isTrustFlagEnabled() instead. -
encodeFlags
Deprecated.Use PK11Cert.encodeTrustFlags() instead. -
decodeFlags
Deprecated.Use PK11Cert.decodeTrustFlags() instead.- Throws:
Exception
-
getKeyInfos
-
addKeyInfo
-
getKeyInfoByID
-
removeKeyInfoByID
-
getCertInfos
-
addCertInfo
-
getCertInfoByID
-
getCertInfoByKeyID
-
getCertInfosByFriendlyName
-
removeCertInfoByFriendlyName
- Throws:
Exception
-