nss.nss¶
This module implements the NSS functions
Functions
|
|
|
|
|
crl_reason_from_name(name) -> int |
|
crl_reason_name(reason) -> string |
|
general_name_type_from_name(name) -> int |
|
general_name_type_name(type) -> string |
|
|
|
|
|
Removes all items currently stored in the OCSP cache. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dump the contents of the certificate cache and the temporary cert store to stdout. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the default certificate database as a CertDB object |
|
Get the default internal key slot. |
|
Get the default internal slot. |
|
|
|
|
|
Returns the current value of the flag used to enable or disable the use of PKIX for certificate validation. |
|
hash_buf(hash_alg, data) --> digest |
|
|
|
|
|
The function supports the display of complex objects which may be composed of other complex objects. |
|
pk11_is_fips() -> bool |
|
|
|
|
|
|
|
|
|
|
|
md5_digest(data) --> digest |
|
|
|
pk11_need_pw_init() -> bool |
|
Return a string of the NSS library version |
|
|
|
|
|
|
|
Performs tasks required to run Network Security Services without setting up configuration files. |
|
|
|
|
|
nss_is_initialized() --> bool |
|
Closes the key and certificate databases that were opened by nss_init(). |
|
|
|
nss_version_check(version) --> bool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logout of every slot for all modules. |
|
|
|
|
|
Enables all PKCS12 ciphers, which are: |
|
|
|
pkcs12_export(nickname, pkcs12_password, key_cipher=SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC, cert_cipher=SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC2_CBC, pin_args=None) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sha1_digest(data) --> digest |
|
sha256_digest(data) --> digest |
|
sha512_digest(data) --> digest |
|
pk11_token_exists(mechanism) -> bool |
|
|
|
|
|
|
|
Classes
|
An object representing an AVA (attribute value assertion). |
|
An object representing a signature algorithm |
|
An object representing Authentication Key ID extension |
|
An object representing AuthorityInfoAccess. |
|
|
|
An object representing X509 Basic Constraints Extension |
|
An object representing a CRL Distribution Point |
|
An object representing CRL Distribution Points list |
|
An object representing CertAttribute. |
|
An object representing a Certificate Database |
|
An object which collects diagnostic information during certification validation. |
|
An object detailing specific diagnostic information concerning a single failure during certification validation. |
|
|
|
An object representing a certificate extension |
|
|
|
An object representing an X501 Distinguished Name (e.g DN). |
|
A object representing a DSA Public Key |
|
An object representing a GeneralName or list of GeneralNames. |
|
An object representing NSSInitContext |
|
An object representing NSS Initialization Parameters |
|
|
|
|
|
An object representing a PKCS #11 Slot |
|
Holds a hash, encryption or signing context for multi-part operations. |
|
An object representing an item in a PKCS12 collection. |
|
|
|
An object representing a Private Key |
|
An object representing a Public Key |
|
An object representing an X501 Relative Distinguished Name (e.g. RDN). |
|
|
|
An object representing an RSA Public Key |
|
|
|
An object representing a signed certificate revocation list |
|
A object representing a signature |
|
An object representing a Subject Public Key |