2023-10-21 04:23:44 -07: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 09:26:55 -07:00
|
|
|
RsaPrivKey ::= SEQUENCE {
|
|
|
|
version INTEGER,
|
|
|
|
n INTEGER ({ rsa_get_n }),
|
|
|
|
e INTEGER ({ rsa_get_e }),
|
|
|
|
d INTEGER ({ rsa_get_d }),
|
2016-07-04 09:21:38 -07: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 09:26:55 -07:00
|
|
|
}
|