mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
201c0da4d0
Per section 4.c. of the IETF Trust Legal Provisions, "Code Components" in IETF Documents are licensed on the terms of the BSD-3-Clause license: https://trustee.ietf.org/documents/trust-legal-provisions/tlp-5/ The term "Code Components" specifically includes ASN.1 modules: https://trustee.ietf.org/documents/trust-legal-provisions/code-components-list-3/ Add an SPDX identifier as well as a copyright notice pursuant to section 6.d. of the Trust Legal Provisions to all ASN.1 modules in the tree which are derived from IETF Documents. Section 4.d. of the Trust Legal Provisions requests that each Code Component identify the RFC from which it is taken, so link that RFC in every ASN.1 module. Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
31 lines
744 B
Groff
31 lines
744 B
Groff
-- SPDX-License-Identifier: BSD-3-Clause
|
|
--
|
|
-- Copyright (C) 2010 IETF Trust and the persons identified as authors
|
|
-- of the code
|
|
--
|
|
-- https://www.rfc-editor.org/rfc/rfc5958#section-2
|
|
--
|
|
-- This is the unencrypted variant
|
|
--
|
|
PrivateKeyInfo ::= SEQUENCE {
|
|
version Version,
|
|
privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
|
|
privateKey PrivateKey,
|
|
attributes [0] IMPLICIT Attributes OPTIONAL
|
|
}
|
|
|
|
Version ::= INTEGER ({ pkcs8_note_version })
|
|
|
|
PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier ({ pkcs8_note_algo })
|
|
|
|
PrivateKey ::= OCTET STRING ({ pkcs8_note_key })
|
|
|
|
Attributes ::= SET OF Attribute
|
|
|
|
Attribute ::= ANY
|
|
|
|
AlgorithmIdentifier ::= SEQUENCE {
|
|
algorithm OBJECT IDENTIFIER ({ pkcs8_note_OID }),
|
|
parameters ANY OPTIONAL
|
|
}
|