Files
heimdal/lib/asn1/pkcs8.asn1
Love Hörnquist Åstrand b23278e0c5 (PKCS8PrivateKeyInfo): Inline SET OF to avoid compiler "feature"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 19:41:29 +00:00

31 lines
630 B
Groff

-- $Id$ --
PKCS8 DEFINITIONS ::=
BEGIN
IMPORTS Attribute, AlgorithmIdentifier FROM rfc2459
heim_any, heim_any_set FROM heim;
PKCS8PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
PKCS8PrivateKey ::= OCTET STRING
PKCS8Attributes ::= SET OF Attribute
PKCS8PrivateKeyInfo ::= SEQUENCE {
version INTEGER,
privateKeyAlgorithm PKCS8PrivateKeyAlgorithmIdentifier,
privateKey PKCS8PrivateKey,
attributes [0] IMPLICIT SET OF Attribute OPTIONAL
}
PKCS8EncryptedData ::= OCTET STRING
PKCS8EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier,
encryptedData PKCS8EncryptedData
}
END