home *** CD-ROM | disk | FTP | other *** search
/ ftp.rsa.com / 2014.05.ftp.rsa.com.tar / ftp.rsa.com / pub / pkcs / pkcs-8 / pkcs-8v1_2.asn
Text File  |  2014-05-02  |  1KB  |  64 lines

  1. PKCS-8 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-8(8)
  2.         modules(1) pkcs-8(1)} 
  3.  
  4. -- $Revision: 1.5 $
  5.  
  6. -- This module has been checked for conformance with the ASN.1
  7. -- standard by the OSS ASN.1 Tools
  8.  
  9. DEFINITIONS IMPLICIT TAGS ::= 
  10.  
  11. BEGIN
  12.  
  13. -- EXPORTS All --
  14. -- All types and values defined in this module is exported for use in other
  15. -- ASN.1 modules.
  16.  
  17. IMPORTS
  18.  
  19. informationFramework
  20.         FROM UsefulDefinitions {joint-iso-itu-t(2) ds(5) module(1)
  21.                                 usefulDefinitions(0) 3} 
  22.  
  23. Attribute
  24.         FROM InformationFramework informationFramework
  25.  
  26. AlgorithmIdentifier, ALGORITHM-IDENTIFIER
  27.         FROM PKCS-5 {iso(1) member-body(2) us(840) rsadsi(113549)
  28.         pkcs(1) pkcs-5(5) modules(16) pkcs-5(1)};
  29.  
  30. -- Private-key information syntax
  31.  
  32. PrivateKeyInfo ::= SEQUENCE {
  33.   version Version,
  34.   privateKeyAlgorithm AlgorithmIdentifier {{PrivateKeyAlgorithms}},
  35.   privateKey PrivateKey,
  36.   attributes [0] Attributes OPTIONAL }
  37.  
  38. Version ::= INTEGER {v1(0)} (v1,...)
  39.  
  40. PrivateKey ::= OCTET STRING
  41.  
  42. Attributes ::= SET OF Attribute
  43.  
  44. -- Encrypted private-key information syntax
  45.  
  46. EncryptedPrivateKeyInfo ::= SEQUENCE {
  47.     encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
  48.     encryptedData EncryptedData 
  49. }
  50.  
  51. EncryptedData ::= OCTET STRING
  52.  
  53. PrivateKeyAlgorithms ALGORITHM-IDENTIFIER ::= {
  54.     ... -- For local profiles
  55. }
  56.  
  57. KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
  58.     ... -- For local profiles
  59. }
  60.  
  61. END
  62.  
  63.  
  64.