New NSS Samples

This translation is incomplete. Please help translate this article from English

New NSS Sample Code

 

여기 샘플 코드 모음은 NSS가 암호화 작업, 인증서 처리, SSL 등에 어떻게 사용될 수 있는지 보여줍니다. 또한 암호화 적용에 대한 몇 가지 모범 사례를 보여줍니다.


These new examples are still a work in progress. See https://bugzilla.mozilla.org/show_bug.cgi?id=490238

You are welcome to download the new samples via:

hg clone https://hg.mozilla.org/projects/nss; cd nss; hg update SAMPLES_BRANCH

These are the new examples

  1. Sample Code 1: Hashing
  2. Sample Code 2: Init NSS database
  3. Sample Code 3: Encrypt/Decrypt and Mac Using Token
  4. Sample Code 4: Encrypt/Decrypt and Mac Using Session Objects
  5. Sample Code 5: Encrypt/Decrypt/MAC Output Public Key as a CSR
  6. Sample Code 6: Encrypt/Decrypt/MAC Generating a PKCS#11 CSR

This is common code used by the new examples

  1. Sample Code 0: Utilities

Thanks are due to Shailendra Jain, Mozilla Community member, who is the principal author of these samples.