1-- $Id: pkcs8.asn1 16060 2005-09-13 19:41:29Z lha $ -- 2 3PKCS8 DEFINITIONS ::= 4 5BEGIN 6 7IMPORTS Attribute, AlgorithmIdentifier FROM rfc2459 8 heim_any, heim_any_set FROM heim; 9 10PKCS8PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier 11 12PKCS8PrivateKey ::= OCTET STRING 13 14PKCS8Attributes ::= SET OF Attribute 15 16PKCS8PrivateKeyInfo ::= SEQUENCE { 17 version INTEGER, 18 privateKeyAlgorithm PKCS8PrivateKeyAlgorithmIdentifier, 19 privateKey PKCS8PrivateKey, 20 attributes [0] IMPLICIT SET OF Attribute OPTIONAL 21} 22 23PKCS8EncryptedData ::= OCTET STRING 24 25PKCS8EncryptedPrivateKeyInfo ::= SEQUENCE { 26 encryptionAlgorithm AlgorithmIdentifier, 27 encryptedData PKCS8EncryptedData 28} 29 30END 31