pkcs8.asn1 559 B

123456789101112131415161718192021222324
  1. --
  2. -- This is the unencrypted variant
  3. --
  4. PrivateKeyInfo ::= SEQUENCE {
  5. version Version,
  6. privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
  7. privateKey PrivateKey,
  8. attributes [0] IMPLICIT Attributes OPTIONAL
  9. }
  10. Version ::= INTEGER ({ pkcs8_note_version })
  11. PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier ({ pkcs8_note_algo })
  12. PrivateKey ::= OCTET STRING ({ pkcs8_note_key })
  13. Attributes ::= SET OF Attribute
  14. Attribute ::= ANY
  15. AlgorithmIdentifier ::= SEQUENCE {
  16. algorithm OBJECT IDENTIFIER ({ pkcs8_note_OID }),
  17. parameters ANY OPTIONAL
  18. }