Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EVP_PKEY_GET_FIELD_TYPE(3)	    OpenSSL	    EVP_PKEY_GET_FIELD_TYPE(3)

NAME
       EVP_PKEY_get_field_type,	EVP_PKEY_get_ec_point_conv_form	- get field
       type or point conversion	form of	a key

SYNOPSIS
	#include <openssl/evp.h>

	int EVP_PKEY_get_field_type(const EVP_PKEY *pkey);
	int EVP_PKEY_get_ec_point_conv_form(const EVP_PKEY *pkey);

DESCRIPTION
       EVP_PKEY_get_field_type() returns the field type	NID of the pkey, if
       pkey's key type supports	it. The	types currently	supported by the
       built-in	OpenSSL	providers are either NID_X9_62_prime_field for prime
       curves or NID_X9_62_characteristic_two_field for	binary curves; these
       values are defined in the _openssl/obj_mac.h_ header file.

       EVP_PKEY_get_ec_point_conv_form() returns the point conversion format
       of the pkey, if pkey's key type supports	it.

NOTES
       Among the standard OpenSSL key types, this is only supported for	EC and
       SM2 keys.  Other	providers may support this for additional key types.

RETURN VALUES
       EVP_PKEY_get_field_type() returns the field type	NID or 0 on error.

       EVP_PKEY_get_ec_point_conv_form() returns the point conversion format
       number (see EC_GROUP_copy(3)) or	0 on error.

SEE ALSO
       EC_GROUP_copy(3)

HISTORY
       These functions were added in OpenSSL 3.0.

COPYRIGHT
       Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.

       Licensed	under the Apache License 2.0 (the "License").  You may not use
       this file except	in compliance with the License.	 You can obtain	a copy
       in the file LICENSE in the source distribution or at
       <https://www.openssl.org/source/license.html>.

3.0.0-alpha12			  2021-02-18	    EVP_PKEY_GET_FIELD_TYPE(3)

NAME | SYNOPSIS | DESCRIPTION | NOTES | RETURN VALUES | SEE ALSO | HISTORY | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EVP_PKEY_get_field_type&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help