Lines Matching full:signature

133 .IX Title "PROVIDER-SIGNATURE 7ossl"
134 .TH PROVIDER-SIGNATURE 7ossl "2023-09-19" "3.0.11" "OpenSSL"
140 provider\-signature \- The signature library <\-> provider functions
203 \& /* Signature parameters */
221 The signature (\s-1OSSL_OP_SIGNATURE\s0) operation enables providers to implement
222 signature algorithms and make them available to applications via the \s-1API\s0
284 A signature algorithm implementation may not implement all of these functions.
287 set of \*(L"signature\*(R" functions, i.e. at least one of:
310 A signature algorithm must also implement some mechanism for generating,
316 structure for holding context information during a signature operation.
317 A pointer to this context will be passed back in a number of the other signature
324 \&\fBOSSL_FUNC_signature_freectx()\fR is passed a pointer to the provider side signature
328 \&\fBOSSL_FUNC_signature_dupctx()\fR should duplicate the provider side signature context in
333 signature context in the \fIctx\fR parameter, and a pointer to a provider key object
342 A previously initialised signature context is passed in the \fIctx\fR
346 Unless \fIsig\fR is \s-1NULL,\s0 the signature should be written to the location pointed
348 The length of the signature should be written to \fI*siglen\fR.
349 If \fIsig\fR is \s-1NULL\s0 then the maximum length of the signature should be written to
353 \&\fBOSSL_FUNC_signature_verify_init()\fR initialises a context for verifying a signature given
354 a provider side signature context in the \fIctx\fR parameter, and a pointer to a
363 A previously initialised signature context is passed in the \fIctx\fR parameter.
364 The data that the signature covers is pointed to be the \fItbs\fR parameter which
366 The signature is pointed to by the \fIsig\fR parameter which is \fIsiglen\fR bytes
371 signed data given a provider side signature context in the \fIctx\fR parameter, and
380 A previously initialised signature context is passed in the \fIctx\fR parameter.
381 The signature is pointed to by the \fIsig\fR parameter which is \fIsiglen\fR bytes
391 provider side signature context in the \fIctx\fR parameter, and a pointer to a
403 signature context is passed in the \fIctx\fR parameter. This function may be called
406 \&\fBOSSL_FUNC_signature_digest_sign_final()\fR finalises a signature operation previously
410 signature context is passed in the \fIctx\fR parameter. Unless \fIsig\fR is \s-1NULL,\s0 the
411 signature should be written to the location pointed to by the \fIsig\fR parameter
412 and it should not exceed \fIsigsize\fR bytes in length. The length of the signature
414 the signature should be written to \fI*siglen\fR.
418 initialised signature context is passed in the \fIctx\fR parameter. The data to be
420 the signature should be written to the location pointed to by the \fIsig\fR
422 signature should be written to \fI*siglen\fR. If \fIsig\fR is \s-1NULL\s0 then the maximum
423 length of the signature should be written to \fI*siglen\fR.
446 verification context is passed in the \fIctx\fR parameter. The signature to be
452 verified is in \fItbs\fR which should be \fItbslen\fR bytes long. The signature to be
454 .SS "Signature parameters"
455 .IX Subsection "Signature parameters"
459 \&\fBOSSL_FUNC_signature_get_ctx_params()\fR gets signature parameters associated with the
460 given provider side signature context \fIctx\fR and stored them in \fIparams\fR.
463 \&\fBOSSL_FUNC_signature_set_ctx_params()\fR sets the signature parameters associated with the
464 given provider side signature context \fIctx\fR to \fIparams\fR.
468 Common parameters currently recognised by built-in signature algorithms are as
474 signature functions. It is required in order to calculate the \*(L"algorithm-id\*(R".
484 signature functions.
490 signature algorithm and digest algorithm for the signature operation.
495 calculated signature is invalid.
497 signature operation succeeds.
498 By default it retries until a signature is calculated.
516 given provider side digest signature context \fIctx\fR and stores them in \fIparams\fR.
520 given provider side digest signature context \fIctx\fR to \fIparams\fR.
524 Parameters currently recognised by built-in signature algorithms are the same
536 provider side signature context, or \s-1NULL\s0 on failure.
548 The provider \s-1SIGNATURE\s0 interface was introduced in OpenSSL 3.0.