EVP_SignInit.pod (59191) | EVP_SignInit.pod (68651) |
---|---|
1=pod 2 3=head1 NAME 4 5EVP_SignInit, EVP_SignUpdate, EVP_SignFinal - EVP signing functions 6 7=head1 SYNOPSIS 8 --- 5 unchanged lines hidden (view full) --- 14 15 int EVP_PKEY_size(EVP_PKEY *pkey); 16 17=head1 DESCRIPTION 18 19The EVP signature routines are a high level interface to digital 20signatures. 21 | 1=pod 2 3=head1 NAME 4 5EVP_SignInit, EVP_SignUpdate, EVP_SignFinal - EVP signing functions 6 7=head1 SYNOPSIS 8 --- 5 unchanged lines hidden (view full) --- 14 15 int EVP_PKEY_size(EVP_PKEY *pkey); 16 17=head1 DESCRIPTION 18 19The EVP signature routines are a high level interface to digital 20signatures. 21 |
22EVP_SignInit() initialises a signing context B<ctx> to using digest | 22EVP_SignInit() initializes a signing context B<ctx> to using digest |
23B<type>: this will typically be supplied by a function such as 24EVP_sha1(). 25 26EVP_SignUpdate() hashes B<cnt> bytes of data at B<d> into the | 23B<type>: this will typically be supplied by a function such as 24EVP_sha1(). 25 26EVP_SignUpdate() hashes B<cnt> bytes of data at B<d> into the |
27signature context B | 27signature context B<ctx>. This function can be called several times on the |
28same B<ctx> to include additional data. 29 30EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> 31and places the signature in B<sig>. If the B<s> parameter is not NULL 32then the number of bytes of data written (i.e. the length of the signature) 33will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes 34will be written. After calling EVP_SignFinal() no additional calls to | 28same B<ctx> to include additional data. 29 30EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> 31and places the signature in B<sig>. If the B<s> parameter is not NULL 32then the number of bytes of data written (i.e. the length of the signature) 33will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes 34will be written. After calling EVP_SignFinal() no additional calls to |
35EVP_SignUpdate() can be made, but EVP_SignInit() can be called to initialiase | 35EVP_SignUpdate() can be made, but EVP_SignInit() can be called to initialize |
36a new signature operation. 37 38EVP_PKEY_size() returns the maximum size of a signature in bytes. The actual 39signature returned by EVP_SignFinal() may be smaller. 40 41=head1 RETURN VALUES 42 43EVP_SignInit() and EVP_SignUpdate() do not return values. --- 42 unchanged lines hidden --- | 36a new signature operation. 37 38EVP_PKEY_size() returns the maximum size of a signature in bytes. The actual 39signature returned by EVP_SignFinal() may be smaller. 40 41=head1 RETURN VALUES 42 43EVP_SignInit() and EVP_SignUpdate() do not return values. --- 42 unchanged lines hidden --- |