Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/development/test-vectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ Custom asymmetric vectors
* ``asymmetric/PEM_Serialization/ec_public_key.pem`` and
``asymmetric/DER_Serialization/ec_public_key.der``- Contains the public key
corresponding to ``ec_private_key.pem``, generated using OpenSSL.
* ``asymmetric/PEM_Serialization/ec_public_key_c2pnb163v1.pem`` - Contains the
public key corresponding to ``ec_private_key_c2pnb163v1.pem``.
* ``asymmetric/PEM_Serialization/ec_private_key_c2pnb163v1.pem`` - Contains a
private key generated using the named curve ``c2pnb163v1``, an X9.62 curve
over a 163 bit binary field.
* ``asymmetric/PEM_Serialization/rsa_private_key.pem`` - Contains an RSA 2048
bit key generated using OpenSSL, protected by the secret "123456" with DES3
encryption.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN EC PRIVATE KEY-----
MFYCAQEEFQPYt34Bw+fkCIA5q5FLoV28MomPfKAKBggqhkjOPQMAAaEuAywABAez
FImvV7nnFPYnhpC1duQlUPPlIAUzffadvDx4DMnl6TgtqBkSp1ZCkg==
-----END EC PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAEDLAAEB7MUia9XuecU9ieGkLV25CVQ8+Ug
BTN99p28PHgMyeXpOC2oGRKnVkKS
-----END PUBLIC KEY-----