diff options
author | Andreas Schultz <[email protected]> | 2012-08-14 16:53:00 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-05-08 10:39:16 +0200 |
commit | 709d0482af92ca52d26296f008b495a36161ca00 (patch) | |
tree | 9d5980b024fac542d22dd957dcc3fd0562ff1c5d /lib/public_key/asn1/ECPrivateKey.asn1 | |
parent | c6c2e82f8b94010e78bfa5fedce7629e7fd32d58 (diff) | |
download | otp-709d0482af92ca52d26296f008b495a36161ca00.tar.gz otp-709d0482af92ca52d26296f008b495a36161ca00.tar.bz2 otp-709d0482af92ca52d26296f008b495a36161ca00.zip |
PUBLIC_KEY: add support for Elliptic Curves to public_key app
Diffstat (limited to 'lib/public_key/asn1/ECPrivateKey.asn1')
-rw-r--r-- | lib/public_key/asn1/ECPrivateKey.asn1 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/public_key/asn1/ECPrivateKey.asn1 b/lib/public_key/asn1/ECPrivateKey.asn1 new file mode 100644 index 0000000000..e8607c4f7b --- /dev/null +++ b/lib/public_key/asn1/ECPrivateKey.asn1 @@ -0,0 +1,24 @@ +ECPrivateKey { iso(1) identified-organization(3) dod(6) + internet(1) security(5) mechanisms(5) pkix(7) id-mod(0) + id-mod-ecprivateKey(65) } + +DEFINITIONS EXPLICIT TAGS ::= + +BEGIN + +-- EXPORTS ALL; + +IMPORTS + +-- FROM New PKIX ASN.1 [RFC5912] + +OTPEcpkParameters FROM OTP-PKIX; + +ECPrivateKey ::= SEQUENCE { + version INTEGER, + privateKey OCTET STRING, + parameters [0] OTPEcpkParameters OPTIONAL, + publicKey [1] BIT STRING OPTIONAL +} + +END
\ No newline at end of file |