summaryrefslogtreecommitdiffstats
path: root/crypto/rsapubkey.asn1
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsapubkey.asn1')
-rw-r--r--crypto/rsapubkey.asn111
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/rsapubkey.asn1 b/crypto/rsapubkey.asn1
new file mode 100644
index 000000000..0d32b1ca6
--- /dev/null
+++ b/crypto/rsapubkey.asn1
@@ -0,0 +1,11 @@
+-- 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.1
+
+RsaPubKey ::= SEQUENCE {
+ n INTEGER ({ rsa_get_n }),
+ e INTEGER ({ rsa_get_e })
+}