From 04e783f5610d3983bb3cbdf82720d17a97c779a7 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 Sep 2014 18:27:56 +0100 Subject: Implemented support for loading EC private keys Loads Elliptic Curve private keys from .PEM files, whether encrypted or unencrypted, given that the encryption method is supported. Also included changes to the test files and documentation for said method. --- .../asymmetric/PEM_Serialization/ec_private_key.pem | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vectors/cryptography_vectors/asymmetric/PEM_Serialization/ec_private_key.pem (limited to 'vectors/cryptography_vectors/asymmetric/PEM_Serialization/ec_private_key.pem') diff --git a/vectors/cryptography_vectors/asymmetric/PEM_Serialization/ec_private_key.pem b/vectors/cryptography_vectors/asymmetric/PEM_Serialization/ec_private_key.pem new file mode 100644 index 00000000..6544ab05 --- /dev/null +++ b/vectors/cryptography_vectors/asymmetric/PEM_Serialization/ec_private_key.pem @@ -0,0 +1,8 @@ +-----BEGIN EC PARAMETERS----- +BgUrgQQACg== +-----END EC PARAMETERS----- +-----BEGIN EC PRIVATE KEY----- +MHQCAQEEID5KKJYoOFVI+B9/BAynBUSl+lXgGOLdxd2b+JprRaL7oAcGBSuBBAAK +oUQDQgAE44pVr9HTSgw9lPJiZ+yHW2vxdT7vvhMEKuCf+e1/Rvgl/IcPHPKD7GvU +NhlwDsAVf6//ji7c4VzFpRwfXoRQGg== +-----END EC PRIVATE KEY----- -- cgit v1.2.3