aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public_key
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-02-24 10:32:37 +0100
committerIngela Anderton Andin <[email protected]>2017-03-23 15:02:23 +0100
commit9f4c3f973e44ee5784d1d7eddf225ca0458f4525 (patch)
treec10da4af0fc51fa0b10f61b57b5d5dceb5d21636 /lib/public_key
parentbce42f4c31bf552269eb787c61a979b3fb34c87e (diff)
downloadotp-9f4c3f973e44ee5784d1d7eddf225ca0458f4525.tar.gz
otp-9f4c3f973e44ee5784d1d7eddf225ca0458f4525.tar.bz2
otp-9f4c3f973e44ee5784d1d7eddf225ca0458f4525.zip
ssl, public_key: Add functionality for generating X509 cert test data
For now this functionality is located in ssl. And existing public_key function is extended. However some of the functionality may be moved to public_key in a later stage.
Diffstat (limited to 'lib/public_key')
-rw-r--r--lib/public_key/src/public_key.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl
index 8f185bbbd4..965606045d 100644
--- a/lib/public_key/src/public_key.erl
+++ b/lib/public_key/src/public_key.erl
@@ -610,7 +610,7 @@ pkix_match_dist_point(#'CertificateList'{
%%--------------------------------------------------------------------
-spec pkix_sign(#'OTPTBSCertificate'{},
- rsa_private_key() | dsa_private_key()) -> Der::binary().
+ rsa_private_key() | dsa_private_key() | ec_private_key()) -> Der::binary().
%%
%% Description: Sign a pkix x.509 certificate. Returns the corresponding
%% der encoded 'Certificate'{}