NSS Sample Code
The collection of sample code here demonstrates how NSS can be used for
cryptographic operations, certificate handling, SSL, etc. It also demonstrates
some best practices in the application of cryptography.
- Sample Code 1: Key Generation and Transport
Between Servers.
- Sample Code 2: Symmetric Encryption
- Sample Code 3: Hashing, MAC
- Sample Code 4: PKI Encryption
- Sample Code 5: PKI Encryption with a raw public
& private key in DER format
- Sample Code 6: Persistent Symmetric Keys in
NSS database