2023-10-21 11:23:44 +00:00
|
|
|
-- SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
--
|
|
|
|
-- Copyright (C) 2016 IETF Trust and the persons identified as authors
|
|
|
|
-- of the code
|
|
|
|
--
|
|
|
|
-- https://www.rfc-editor.org/rfc/rfc8017#appendix-A.1.2
|
|
|
|
|
2015-10-08 16:26:55 +00:00
|
|
|
RsaPrivKey ::= SEQUENCE {
|
|
|
|
version INTEGER,
|
|
|
|
n INTEGER ({ rsa_get_n }),
|
|
|
|
e INTEGER ({ rsa_get_e }),
|
|
|
|
d INTEGER ({ rsa_get_d }),
|
2016-07-04 16:21:38 +00:00
|
|
|
prime1 INTEGER ({ rsa_get_p }),
|
|
|
|
prime2 INTEGER ({ rsa_get_q }),
|
|
|
|
exponent1 INTEGER ({ rsa_get_dp }),
|
|
|
|
exponent2 INTEGER ({ rsa_get_dq }),
|
|
|
|
coefficient INTEGER ({ rsa_get_qinv })
|
2015-10-08 16:26:55 +00:00
|
|
|
}
|