Skip to content

API XMLSec GnuTLS Crypto

Aleksey Sanin edited this page Jun 22, 2026 · 5 revisions

GnuTLS Crypto Engine

API Group: xmlsec_gnutls_crypto

Cryptographic operations provided by the GnuTLS back-end.

Symmetric keys implementation for GnuTLS.

Signatures implementation for GnuTLS.

AES/Camellia Key Transport (RFC 3394) implementation for GnuTLS.

DES Key Transport transforms implementation for GnuTLS.

RSA Key Transport transforms implementation for GnuTLS.

Key agreement transforms implementation for GnuTLS.

KDF (key derivation) transforms implementation for GnuTLS.

HMAC transforms implementation for GnuTLS.

Digests transforms implementation for GnuTLS.

DEREncodedKeyValue processing for GnuTLS.

Crypto transforms implementation for GnuTLS.

Ciphers transforms implementation for GnuTLS.

Ciphers AEAD (GCM and ChaCha20-Poly1305) transforms implementation for GnuTLS.

Private/public keys implementation for GnuTLS.

Macros

xmlSecGnuTLSKeyDataAesId

Defined as: xmlSecGnuTLSKeyDataAesGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES key data klass.


xmlSecGnuTLSTransformAes128CbcId

Defined as: xmlSecGnuTLSTransformAes128CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES128 CBC cipher transform klass.


xmlSecGnuTLSTransformAes192CbcId

Defined as: xmlSecGnuTLSTransformAes192CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES192 CBC cipher transform klass.


xmlSecGnuTLSTransformAes256CbcId

Defined as: xmlSecGnuTLSTransformAes256CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES256 CBC cipher transform klass.


xmlSecGnuTLSTransformAes128GcmId

Defined as: xmlSecGnuTLSTransformAes128GcmGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES128 GCM cipher transform klass.


xmlSecGnuTLSTransformAes192GcmId

Defined as: xmlSecGnuTLSTransformAes192GcmGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES192 GCM cipher transform klass.


xmlSecGnuTLSTransformAes256GcmId

Defined as: xmlSecGnuTLSTransformAes256GcmGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES256 GCM cipher transform klass.


xmlSecGnuTLSTransformKWAes128Id

Defined as: xmlSecGnuTLSTransformKWAes128GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES 128 key wrap transform klass.


xmlSecGnuTLSTransformKWAes192Id

Defined as: xmlSecGnuTLSTransformKWAes192GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES 192 key wrap transform klass.


xmlSecGnuTLSTransformKWAes256Id

Defined as: xmlSecGnuTLSTransformKWAes256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The AES 256 key wrap transform klass.


xmlSecGnuTLSKeyDataChaCha20Id

Defined as: xmlSecGnuTLSKeyDataChaCha20GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ChaCha20 key data klass.


xmlSecGnuTLSTransformChaCha20Id

Defined as: xmlSecGnuTLSTransformChaCha20GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ChaCha20 stream cipher transform klass.


xmlSecGnuTLSTransformChaCha20Poly1305Id

Defined as: xmlSecGnuTLSTransformChaCha20Poly1305GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ChaCha20-Poly1305 AEAD cipher transform klass.


xmlSecGnuTLSKeyDataDesId

Defined as: xmlSecGnuTLSKeyDataDesGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DES key data klass.


xmlSecGnuTLSTransformDes3CbcId

Defined as: xmlSecGnuTLSTransformDes3CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DES3 CBC cipher transform klass.


xmlSecGnuTLSTransformKWDes3Id

Defined as: xmlSecGnuTLSTransformKWDes3GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DES3 KW transform klass.


xmlSecGnuTLSKeyDataCamelliaId

Defined as: xmlSecGnuTLSKeyDataCamelliaGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia key data klass.


xmlSecGnuTLSTransformCamellia128CbcId

Defined as: xmlSecGnuTLSTransformCamellia128CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia128 CBC cipher transform klass.


xmlSecGnuTLSTransformCamellia192CbcId

Defined as: xmlSecGnuTLSTransformCamellia192CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia192 CBC cipher transform klass.


xmlSecGnuTLSTransformCamellia256CbcId

Defined as: xmlSecGnuTLSTransformCamellia256CbcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia256 CBC cipher transform klass.


xmlSecGnuTLSTransformKWCamellia128Id

Defined as: xmlSecGnuTLSTransformKWCamellia128GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia 128 key wrap transform klass.


xmlSecGnuTLSTransformKWCamellia192Id

Defined as: xmlSecGnuTLSTransformKWCamellia192GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia 192 key wrap transform klass.


xmlSecGnuTLSTransformKWCamellia256Id

Defined as: xmlSecGnuTLSTransformKWCamellia256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The Camellia 256 key wrap transform klass.


xmlSecGnuTLSKeyDataDsaId

Defined as: xmlSecGnuTLSKeyDataDsaGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DSA key klass.


xmlSecGnuTLSTransformDsaSha1Id

Defined as: xmlSecGnuTLSTransformDsaSha1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DSA SHA1 signature transform klass.


xmlSecGnuTLSTransformDsaSha256Id

Defined as: xmlSecGnuTLSTransformDsaSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The DSA SHA2-256 signature transform klass.


xmlSecGnuTLSKeyDataEcId

Defined as: xmlSecGnuTLSKeyDataEcGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The EC key klass.


xmlSecGnuTLSTransformEcdsaSha1Id

Defined as: xmlSecGnuTLSTransformEcdsaSha1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA1 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha224Id

Defined as: xmlSecGnuTLSTransformEcdsaSha224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-224 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha256Id

Defined as: xmlSecGnuTLSTransformEcdsaSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha384Id

Defined as: xmlSecGnuTLSTransformEcdsaSha384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha512Id

Defined as: xmlSecGnuTLSTransformEcdsaSha512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_224Id

Defined as: xmlSecGnuTLSTransformEcdsaSha3_224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-224 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_256Id

Defined as: xmlSecGnuTLSTransformEcdsaSha3_256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-256 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_384Id

Defined as: xmlSecGnuTLSTransformEcdsaSha3_384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-384 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_512Id

Defined as: xmlSecGnuTLSTransformEcdsaSha3_512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-512 signature transform klass.


xmlSecGnuTLSKeyDataGost2001Id

Defined as: xmlSecGnuTLSKeyDataGost2001GetKlass ()

Source: include/xmlsec/gnutls/crypto.h

The GOST 2001 key klass.


xmlSecGnuTLSTransformGostR3411_94Id

Defined as: xmlSecGnuTLSTransformGostR3411_94GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOSTR3411_94 digest transform klass.


xmlSecGnuTLSTransformGost2001GostR3411_94Id

Defined as: xmlSecGnuTLSTransformGost2001GostR3411_94GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST-2001 GOSTR3411-94 signature transform klass.

The GOST2001 GOSTR3411_94 signature transform klass.


xmlSecGnuTLSKeyDataGost2012_256Id

Defined as: xmlSecGnuTLSKeyDataGost2012_256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST R 34.10-2012 256 bit key klass.


xmlSecGnuTLSKeyDataGost2012_512Id

Defined as: xmlSecGnuTLSKeyDataGost2012_512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST R 34.10-2012 512 bit key klass.


xmlSecGnuTLSTransformGostR3411_2012_256Id

Defined as: xmlSecGnuTLSTransformGostR3411_2012_256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST R 34.11-2012/256 digest transform klass.

The GOST R 34.11-2012 256 bit digest transform klass.


xmlSecGnuTLSTransformGostR3411_2012_512Id

Defined as: xmlSecGnuTLSTransformGostR3411_2012_512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST R 34.11-2012/512 digest transform klass.

The GOST R 34.11-2012 512 bit digest transform klass.


xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256Id

Defined as: xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST-2012 256-bit signature transform klass.

The GOST R 34.10-2012 - GOST R 3411-2012 256 bit signature transform klass.


xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512Id

Defined as: xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GOST-2012 512-bit signature transform klass.

The GOST R 34.10-2012 - GOST R 3411-2012 512 bit signature transform klass.


xmlSecGnuTLSKeyDataMLDSAId

Defined as: xmlSecGnuTLSKeyDataMLDSAGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA key klass (post-quantum, per FIPS 204).

The ML-DSA key klass (post-quantum signature algorithm per FIPS 204).


xmlSecGnuTLSTransformMLDSA44Id

Defined as: xmlSecGnuTLSTransformMLDSA44GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-44 signature transform klass.


xmlSecGnuTLSTransformMLDSA65Id

Defined as: xmlSecGnuTLSTransformMLDSA65GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-65 signature transform klass.


xmlSecGnuTLSTransformMLDSA87Id

Defined as: xmlSecGnuTLSTransformMLDSA87GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-87 signature transform klass.


xmlSecGnuTLSKeyDataEdDSAId

Defined as: xmlSecGnuTLSKeyDataEdDSAGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The EdDSA key klass (Ed25519 and Ed448).


xmlSecGnuTLSTransformEdDSAEd25519Id

Defined as: xmlSecGnuTLSTransformEdDSAEd25519GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The EdDSA-Ed25519 signature transform klass.


xmlSecGnuTLSTransformEdDSAEd448Id

Defined as: xmlSecGnuTLSTransformEdDSAEd448GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The EdDSA-Ed448 signature transform klass.


xmlSecGnuTLSKeyDataXdhId

Defined as: xmlSecGnuTLSKeyDataXdhGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The XDH key klass (X25519 and X448).


xmlSecGnuTLSTransformX25519Id

Defined as: xmlSecGnuTLSTransformX25519GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The X25519 key agreement transform klass.


xmlSecGnuTLSTransformX448Id

Defined as: xmlSecGnuTLSTransformX448GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The X448 key agreement transform klass.


xmlSecGnuTLSTransformEcdhId

Defined as: xmlSecGnuTLSTransformEcdhGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ECDH-ES key agreement transform klass.


xmlSecGnuTLSKeyDataConcatKdfId

Defined as: xmlSecGnuTLSKeyDataConcatKdfGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ConcatKDF key klass.


xmlSecGnuTLSTransformConcatKdfId

Defined as: xmlSecGnuTLSTransformConcatKdfGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The ConcatKDF key derivation transform klass.


xmlSecGnuTLSKeyDataHmacId

Defined as: xmlSecGnuTLSKeyDataHmacGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC key klass.


xmlSecGnuTLSTransformHmacSha1Id

Defined as: xmlSecGnuTLSTransformHmacSha1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC with SHA1 signature transform klass.


xmlSecGnuTLSTransformHmacSha224Id

Defined as: xmlSecGnuTLSTransformHmacSha224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC with SHA2-224 signature transform klass.


xmlSecGnuTLSTransformHmacSha256Id

Defined as: xmlSecGnuTLSTransformHmacSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC with SHA2-256 signature transform klass.


xmlSecGnuTLSTransformHmacSha384Id

Defined as: xmlSecGnuTLSTransformHmacSha384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC with SHA2-384 signature transform klass.


xmlSecGnuTLSTransformHmacSha512Id

Defined as: xmlSecGnuTLSTransformHmacSha512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HMAC with SHA2-512 signature transform klass.


xmlSecGnuTLSKeyDataPbkdf2Id

Defined as: xmlSecGnuTLSKeyDataPbkdf2GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The PBKDF2 key klass.


xmlSecGnuTLSTransformPbkdf2Id

Defined as: xmlSecGnuTLSTransformPbkdf2GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The PBKDF2 key derivation transform klass.


xmlSecGnuTLSKeyDataHkdfId

Defined as: xmlSecGnuTLSKeyDataHkdfGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HKDF key klass.


xmlSecGnuTLSTransformHkdfId

Defined as: xmlSecGnuTLSTransformHkdfGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The HKDF key derivation transform klass.


xmlSecGnuTLSKeyDataRsaId

Defined as: xmlSecGnuTLSKeyDataRsaGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA key klass.


xmlSecGnuTLSTransformRsaSha1Id

Defined as: xmlSecGnuTLSTransformRsaSha1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA1 signature transform klass.


xmlSecGnuTLSTransformRsaSha224Id

Defined as: xmlSecGnuTLSTransformRsaSha224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-224 signature transform klass.


xmlSecGnuTLSTransformRsaSha256Id

Defined as: xmlSecGnuTLSTransformRsaSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformRsaSha384Id

Defined as: xmlSecGnuTLSTransformRsaSha384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformRsaSha512Id

Defined as: xmlSecGnuTLSTransformRsaSha512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha256Id

Defined as: xmlSecGnuTLSTransformRsaPssSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha384Id

Defined as: xmlSecGnuTLSTransformRsaPssSha384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha512Id

Defined as: xmlSecGnuTLSTransformRsaPssSha512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformRsaPkcs1Id

Defined as: xmlSecGnuTLSTransformRsaPkcs1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA PKCS1 key transport transform klass.


xmlSecGnuTLSTransformRsaOaepId

Defined as: xmlSecGnuTLSTransformRsaOaepGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-OAEP key transport transform klass (XMLEnc 1.0).


xmlSecGnuTLSTransformRsaOaepEnc11Id

Defined as: xmlSecGnuTLSTransformRsaOaepEnc11GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The RSA-OAEP key transport transform klass (XMLEnc 1.1).


xmlSecGnuTLSTransformSha1Id

Defined as: xmlSecGnuTLSTransformSha1GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA1 digest transform klass.


xmlSecGnuTLSTransformSha224Id

Defined as: xmlSecGnuTLSTransformSha224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA2-224 digest transform klass.


xmlSecGnuTLSTransformSha256Id

Defined as: xmlSecGnuTLSTransformSha256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA2-256 digest transform klass.


xmlSecGnuTLSTransformSha384Id

Defined as: xmlSecGnuTLSTransformSha384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA2-384 digest transform klass.


xmlSecGnuTLSTransformSha512Id

Defined as: xmlSecGnuTLSTransformSha512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA2-512 digest transform klass.


xmlSecGnuTLSTransformSha3_224Id

Defined as: xmlSecGnuTLSTransformSha3_224GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA3-224 digest transform klass.


xmlSecGnuTLSTransformSha3_256Id

Defined as: xmlSecGnuTLSTransformSha3_256GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA3-256 digest transform klass.


xmlSecGnuTLSTransformSha3_384Id

Defined as: xmlSecGnuTLSTransformSha3_384GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA3-384 digest transform klass.


xmlSecGnuTLSTransformSha3_512Id

Defined as: xmlSecGnuTLSTransformSha3_512GetKlass()

Source: include/xmlsec/gnutls/crypto.h

The SHA3-512 digest transform klass.


xmlSecGnuTLSKeyDataDEREncodedKeyValueId

Defined as: xmlSecGnuTLSKeyDataDEREncodedKeyValueGetKlass()

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS DEREncodedKeyValue data klass.


Functions

xmlSecGnuTLSInit

int xmlSecGnuTLSInit(void);

Source: include/xmlsec/gnutls/crypto.h

Initializes the GnuTLS crypto engine.

End exclude from Doxygen

XMLSec library specific crypto engine initialization.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSShutdown

int xmlSecGnuTLSShutdown(void);

Source: include/xmlsec/gnutls/crypto.h

XMLSec library specific crypto engine shutdown.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeysMngrInit

int xmlSecGnuTLSKeysMngrInit(xmlSecKeysMngrPtr mngr);

Source: include/xmlsec/gnutls/crypto.h

Adds GnuTLS specific key data stores.

Adds GnuTLS specific key data stores in keys manager.

Parameters:

  • mngr — the pointer to keys manager.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSGenerateRandom

int xmlSecGnuTLSGenerateRandom(xmlSecBufferPtr buffer, xmlSecSize size);

Source: include/xmlsec/gnutls/crypto.h

Generates random bytes into buffer.

Generates size random bytes and puts result in buffer.

Parameters:

  • buffer — the destination buffer.
  • size — the numer of bytes to generate.

Returns: 0 on success or a negative value otherwise.


xmlSecCryptoGetFunctions_gnutls

xmlSecCryptoDLFunctionsPtr xmlSecCryptoGetFunctions_gnutls(void);

Source: include/xmlsec/gnutls/crypto.h

Gets the pointer to xmlsec-gnutls functions table.

Returns: the xmlsec-gnutls functions table or NULL if an error occurs.


xmlSecGnuTLSAsymmetricKeyCreatePub

xmlSecKeyPtr xmlSecGnuTLSAsymmetricKeyCreatePub(gnutls_pubkey_t pubkey);

Source: include/xmlsec/gnutls/crypto.h

Creates XMLSec key from GnuTLS public key.

Parameters:

  • pubkey — the pointer to GnuTLS public key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSAsymmetricKeyCreatePriv

xmlSecKeyPtr xmlSecGnuTLSAsymmetricKeyCreatePriv(gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Creates XMLSec key from GnuTLS private key.

Parameters:

  • privkey — the pointer to GnuTLS private key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSAsymmetricKeyGetPub

gnutls_pubkey_t xmlSecGnuTLSAsymmetricKeyGetPub(xmlSecKeyPtr key);

Source: include/xmlsec/gnutls/crypto.h

Gets GnuTLS public key from an XMLSec key.

Parameters:

  • key — the pointer to XMLSec key.

Returns: GnuTLS public key on success or a NULL value otherwise.


xmlSecGnuTLSAsymmetricKeyGetPriv

gnutls_privkey_t xmlSecGnuTLSAsymmetricKeyGetPriv(xmlSecKeyPtr key);

Source: include/xmlsec/gnutls/crypto.h

Gets GnuTLS private key from an XMLSec key.

Parameters:

  • key — the pointer to XMLSec key.

Returns: GnuTLS private key on success or a NULL value otherwise.


xmlSecGCryptAsymetricKeyCreatePub

xmlSecKeyPtr xmlSecGCryptAsymetricKeyCreatePub(gnutls_pubkey_t pubkey);

Source: include/xmlsec/gnutls/crypto.h

Creates XMLSec key from GnuTLS public key pubkey (deprecated).

Returns: pointer to created key or NULL on error. Creates XMLSec key from GnuTLS public key pubkey (deprecated).

Creates XMLSec key from GnuTLS public key (deprecated, use xmlSecGnuTLSAsymmetricKeyCreatePub() instead).

Parameters:

  • pubkey — the pointer to GnuTLS public key.

Returns: pointer to newly created key or NULL if an error occurs.


xmlSecGCryptAsymetricKeyCreatePriv

xmlSecKeyPtr xmlSecGCryptAsymetricKeyCreatePriv(gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Creates XMLSec key from GnuTLS private key privkey (deprecated).

Returns: pointer to created key or NULL on error. Creates XMLSec key from GnuTLS private key privkey (deprecated).

Creates XMLSec key from GnuTLS private key (deprecated, use xmlSecGnuTLSAsymmetricKeyCreatePriv() instead).

Parameters:

  • privkey — the pointer to GnuTLS private key.

Returns: pointer to newly created key or NULL if an error occurs.


xmlSecGCryptAsymetricKeyGetPub

gnutls_pubkey_t xmlSecGCryptAsymetricKeyGetPub(xmlSecKeyPtr key);

Source: include/xmlsec/gnutls/crypto.h

Gets GnuTLS public key from XMLSec key (deprecated).

Returns: GnuTLS public key or NULL on error. Gets GnuTLS public key from XMLSec key (deprecated).

Gets GnuTLS public key from an XMLSec key (deprecated, use xmlSecGnuTLSAsymmetricKeyGetPub() instead).

Parameters:

  • key — the pointer to XMLSec key.

Returns: GnuTLS public key on success or a NULL value otherwise.


xmlSecGCryptAsymetricKeyGetPriv

gnutls_privkey_t xmlSecGCryptAsymetricKeyGetPriv(xmlSecKeyPtr key);

Source: include/xmlsec/gnutls/crypto.h

Gets GnuTLS private key from XMLSec key (deprecated).

Returns: GnuTLS private key or NULL on error. Gets GnuTLS private key from XMLSec key (deprecated).

Gets GnuTLS private key from an XMLSec key (deprecated, use xmlSecGnuTLSAsymmetricKeyGetPriv() instead).

Parameters:

  • key — the pointer to XMLSec key.

Returns: GnuTLS private key on success or a NULL value otherwise.


xmlSecGnuTLSKeyDataAesGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataAesGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The AES key data klass.

Returns: AES key data klass.


xmlSecGnuTLSKeyDataAesSet

int xmlSecGnuTLSKeyDataAesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of AES key data.

Parameters:

  • data — the pointer to AES key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformAes128CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes128CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 128 CBC encryption transform klass.

Returns: pointer to AES 128 CBC encryption transform.


xmlSecGnuTLSTransformAes192CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes192CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 192 CBC encryption transform klass.

Returns: pointer to AES 192 CBC encryption transform.


xmlSecGnuTLSTransformAes256CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes256CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 256 CBC encryption transform klass.

Returns: pointer to AES 256 CBC encryption transform.


xmlSecGnuTLSTransformAes128GcmGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes128GcmGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 128 GCM encryption transform klass.

Returns: pointer to AES 128 GCM encryption transform.


xmlSecGnuTLSTransformAes192GcmGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes192GcmGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 192 GCM encryption transform klass.

Returns: pointer to AES 192 GCM encryption transform.


xmlSecGnuTLSTransformAes256GcmGetKlass

xmlSecTransformId xmlSecGnuTLSTransformAes256GcmGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

AES 256 GCM encryption transform klass.

Returns: pointer to AES 256 GCM encryption transform.


xmlSecGnuTLSTransformKWAes128GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWAes128GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The AES-128 key wrapper transform klass.

Returns: AES-128 key wrapper transform klass.


xmlSecGnuTLSTransformKWAes192GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWAes192GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The AES-192 key wrapper transform klass.

Returns: AES-192 key wrapper transform klass.


xmlSecGnuTLSTransformKWAes256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWAes256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The AES-256 key wrapper transform klass.

Returns: AES-256 key wrapper transform klass.


xmlSecGnuTLSKeyDataChaCha20GetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataChaCha20GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ChaCha20 key data klass.

Returns: ChaCha20 key data klass.


xmlSecGnuTLSKeyDataChaCha20Set

int xmlSecGnuTLSKeyDataChaCha20Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of ChaCha20 key data.

Parameters:

  • data — the pointer to ChaCha20 key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformChaCha20GetKlass

xmlSecTransformId xmlSecGnuTLSTransformChaCha20GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

ChaCha20 stream cipher transform.

Returns: pointer to ChaCha20 transform.


xmlSecGnuTLSTransformChaCha20Poly1305GetKlass

xmlSecTransformId xmlSecGnuTLSTransformChaCha20Poly1305GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

ChaCha20-Poly1305 AEAD encryption transform klass.

Returns: pointer to ChaCha20-Poly1305 encryption transform.


xmlSecGnuTLSKeyDataDesGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataDesGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The DES key data klass.

Returns: DES key data klass.


xmlSecGnuTLSKeyDataDesSet

int xmlSecGnuTLSKeyDataDesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of DES key data.

Parameters:

  • data — the pointer to DES key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformDes3CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformDes3CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

Triple DES CBC encryption transform klass.

Returns: pointer to Triple DES encryption transform.


xmlSecGnuTLSTransformKWDes3GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWDes3GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The Triple DES key wrapper transform klass.

Returns: Triple DES key wrapper transform klass.


xmlSecGnuTLSKeyDataCamelliaGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataCamelliaGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The Camellia key data klass.

Returns: Camellia key data klass.


xmlSecGnuTLSKeyDataCamelliaSet

int xmlSecGnuTLSKeyDataCamelliaSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of Camellia key data.

Parameters:

  • data — the pointer to Camellia key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformCamellia128CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformCamellia128CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

Camellia 128 CBC encryption transform klass.

Returns: pointer to Camellia 128 CBC encryption transform.


xmlSecGnuTLSTransformCamellia192CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformCamellia192CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

Camellia 192 CBC encryption transform klass.

Returns: pointer to Camellia 192 CBC encryption transform.


xmlSecGnuTLSTransformCamellia256CbcGetKlass

xmlSecTransformId xmlSecGnuTLSTransformCamellia256CbcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

Camellia 256 CBC encryption transform klass.

Returns: pointer to Camellia 256 CBC encryption transform.


xmlSecGnuTLSTransformKWCamellia128GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWCamellia128GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The Camellia-128 key wrapper transform klass.

Returns: Camellia-128 key wrapper transform klass.


xmlSecGnuTLSTransformKWCamellia192GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWCamellia192GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The Camellia-192 key wrapper transform klass.

Returns: Camellia-192 key wrapper transform klass.


xmlSecGnuTLSTransformKWCamellia256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformKWCamellia256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The Camellia-256 key wrapper transform klass.

Returns: Camellia-256 key wrapper transform klass.


xmlSecGnuTLSKeyDataDsaGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataDsaGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The DSA key data klass.

Returns: pointer to DSA key data klass.


xmlSecGnuTLSKeyDataDsaAdoptKey

int xmlSecGnuTLSKeyDataDsaAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of DSA key data.

Sets the value of DSA key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to DSA key data.
  • pubkey — the pointer to GnuTLS DSA key.
  • privkey — the pointer to GnuTLS DSA key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataDsaGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataDsaGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS DSA public key from DSA key data.

Parameters:

  • data — the pointer to DSA key data.

Returns: pointer to GnuTLS public DSA key or NULL if an error occurs.


xmlSecGnuTLSKeyDataDsaGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataDsaGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS DSA private key from DSA key data.

Parameters:

  • data — the pointer to DSA key data.

Returns: pointer to GnuTLS private DSA key or NULL if an error occurs.


xmlSecGnuTLSTransformDsaSha1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformDsaSha1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The DSA-SHA1 signature transform klass.

Returns: DSA-SHA1 signature transform klass.


xmlSecGnuTLSTransformDsaSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformDsaSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The DSA-SHA2-256 signature transform klass.

Returns: DSA-SHA2-256 signature transform klass.


xmlSecGnuTLSKeyDataEcGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataEcGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS EC key data klass.

Returns: pointer to GnuTLS EC key data klass.


xmlSecGnuTLSKeyDataEcAdoptKey

int xmlSecGnuTLSKeyDataEcAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of EC key data.

Sets the value of EC key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to EC key data.
  • pubkey — the pointer to GnuTLS EC key.
  • privkey — the pointer to GnuTLS EC key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataEcGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataEcGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS EC public key from EC key data.

Parameters:

  • data — the pointer to EC key data.

Returns: pointer to GnuTLS public EC key or NULL if an error occurs.


xmlSecGnuTLSKeyDataEcGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataEcGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS EC private key from EC key data.

Parameters:

  • data — the pointer to EC key data.

Returns: pointer to GnuTLS private EC key or NULL if an error occurs.


xmlSecGnuTLSTransformEcdsaSha1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA1 signature transform klass.

Returns: ECDSA-SHA1 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-224 signature transform klass.

Returns: ECDSA-SHA2-224 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-256 signature transform klass.

Returns: ECDSA-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-384 signature transform klass.

Returns: ECDSA-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA2-512 signature transform klass.

Returns: ECDSA-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha3_224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-224 signature transform klass.

Returns: ECDSA-SHA3-224 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha3_256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-256 signature transform klass.

Returns: ECDSA-SHA3-256 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha3_384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-384 signature transform klass.

Returns: ECDSA-SHA3-384 signature transform klass.


xmlSecGnuTLSTransformEcdsaSha3_512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdsaSha3_512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDSA-SHA3-512 signature transform klass.

Returns: ECDSA-SHA3-512 signature transform klass.


xmlSecGnuTLSKeyDataGost2001GetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataGost2001GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS GOST 2001 key data klass.

Returns: pointer to GnuTLS GOST 2001 key data klass.


xmlSecGnuTLSKeyDataGost2001AdoptKey

int xmlSecGnuTLSKeyDataGost2001AdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of GOST 2001 key data.

Sets the value of GOST 2001 key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to GOST 2001 key data.
  • pubkey — the pointer to GnuTLS GOST 2001 key.
  • privkey — the pointer to GnuTLS GOST 2001 key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataGost2001GetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataGost2001GetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2001 public key from key data.

Gets the GnuTLS GOST 2001 public key from GOST 2001 key data.

Parameters:

  • data — the pointer to GOST 2001 key data.

Returns: pointer to GnuTLS public GOST 2001 key or NULL if an error occurs.


xmlSecGnuTLSKeyDataGost2001GetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataGost2001GetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2001 private key from key data.

Gets the GnuTLS GOST 2001 private key from GOST 2001 key data.

Parameters:

  • data — the pointer to GOST 2001 key data.

Returns: pointer to GnuTLS private GOST 2001 key or NULL if an error occurs.


xmlSecGnuTLSTransformGostR3411_94GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGostR3411_94GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOSTR3411_94 digest transform klass.

Returns: pointer to GOSTR3411_94 digest transform klass.


xmlSecGnuTLSTransformGost2001GostR3411_94GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGost2001GostR3411_94GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOST2001 GOSTR3411_94 signature transform klass.

The GOST2001 GOSTR3411_94 signature transform klass.

Returns: GOST2001 GOSTR3411_94 signature transform klass.


xmlSecGnuTLSKeyDataGost2012_256GetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataGost2012_256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS GOST 2012 (256 bits) key data klass.

Returns: pointer to GnuTLS GOST 2012 (256 bits) key data klass.


xmlSecGnuTLSKeyDataGost2012_256AdoptKey

int xmlSecGnuTLSKeyDataGost2012_256AdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of GOST 2012 (256 bits) key data.

Sets the value of GOST 2012 (256 bits) key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to GOST 2012 (256 bits) key data.
  • pubkey — the pointer to GnuTLS GOST 2012 (256 bits) key.
  • privkey — the pointer to GnuTLS GOST 2012 (256 bits) key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataGost2012_256GetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataGost2012_256GetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2012 (256 bits) public key.

Gets the GnuTLS GOST 2012 (256 bits) public key from GOST 2012 (256 bits) key data.

Parameters:

  • data — the pointer to GOST 2012 (256 bits) key data.

Returns: pointer to GnuTLS public GOST 2012 (256 bits) key or NULL if an error occurs.


xmlSecGnuTLSKeyDataGost2012_256GetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataGost2012_256GetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2012 (256 bits) private key.

Gets the GnuTLS GOST 2012 (256 bits) private key from GOST 2012 (256 bits) key data.

Parameters:

  • data — the pointer to GOST 2012 (256 bits) key data.

Returns: pointer to GnuTLS private GOST 2012 (256 bits) key or NULL if an error occurs.


xmlSecGnuTLSKeyDataGost2012_512GetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataGost2012_512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS GOST 2012 (512 bits) key data klass.

Returns: pointer to GnuTLS GOST 2012 (512 bits) key data klass.


xmlSecGnuTLSKeyDataGost2012_512AdoptKey

int xmlSecGnuTLSKeyDataGost2012_512AdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of GOST 2012 (512 bits) key data.

Sets the value of GOST 2012 (512 bits) key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to GOST 2012 (512 bits) key data.
  • pubkey — the pointer to GnuTLS GOST 2012 (512 bits) key.
  • privkey — the pointer to GnuTLS GOST 2012 (512 bits) key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataGost2012_512GetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataGost2012_512GetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2012 (512 bits) public key.

Gets the GnuTLS GOST 2012 (512 bits) public key from GOST 2012 (512 bits) key data.

Parameters:

  • data — the pointer to GOST 2012 (512 bits) key data.

Returns: pointer to GnuTLS public GOST 2012 (512 bits) key or NULL if an error occurs.


xmlSecGnuTLSKeyDataGost2012_512GetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataGost2012_512GetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GOST 2012 (512 bits) private key.

Gets the GnuTLS GOST 2012 (512 bits) private key from GOST 2012 (512 bits) key data.

Parameters:

  • data — the pointer to GOST 2012 (512 bits) key data.

Returns: pointer to GnuTLS private GOST 2012 (512 bits) key or NULL if an error occurs.


xmlSecGnuTLSTransformGostR3411_2012_256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGostR3411_2012_256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOST R 34.11-2012 256 bit digest transform klass.

Returns: pointer to GOST R 34.11-2012 256 bit digest transform klass.


xmlSecGnuTLSTransformGostR3411_2012_512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGostR3411_2012_512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOST R 34.11-2012 512 bit digest transform klass.

Returns: pointer to GOST R 34.11-2012 512 bit digest transform klass.


xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOST R 34.10-2012 signature klass (256 bit).

The GOST R 34.10-2012 - GOST R 34.11-2012 256 bit signature transform klass.

Returns: GOST R 34.10-2012 - GOST R 34.11-2012 256 bit signature transform klass.


xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

GOST R 34.10-2012 signature klass (512 bit).

The GOST R 34.10-2012 - GOST R 34.11-2012 512 bit signature transform klass.

Returns: GOST R 34.10-2012 - GOST R 34.11-2012 512 bit signature transform klass.


xmlSecGnuTLSKeyDataMLDSAGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataMLDSAGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS ML-DSA key data klass.

Returns: pointer to GnuTLS ML-DSA key data klass.


xmlSecGnuTLSKeyDataMLDSAAdoptKey

int xmlSecGnuTLSKeyDataMLDSAAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of ML-DSA key data.

Sets the value of ML-DSA key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to ML-DSA key data.
  • pubkey — the pointer to GnuTLS ML-DSA key.
  • privkey — the pointer to GnuTLS ML-DSA key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataMLDSAGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataMLDSAGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS ML-DSA public key.

Gets the GnuTLS ML-DSA public key from ML-DSA key data.

Parameters:

  • data — the pointer to ML-DSA key data.

Returns: pointer to GnuTLS public ML-DSA key or NULL if an error occurs.


xmlSecGnuTLSKeyDataMLDSAGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataMLDSAGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS ML-DSA private key.

Gets the GnuTLS ML-DSA private key from ML-DSA key data.

Parameters:

  • data — the pointer to ML-DSA key data.

Returns: pointer to GnuTLS private ML-DSA key or NULL if an error occurs.


xmlSecGnuTLSKeyDataMLDSAGetKL

int xmlSecGnuTLSKeyDataMLDSAGetKL(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets ML-DSA key (k, l) value: 44 corresponds to (4,4),.

Parameters:

  • data — the pointer to ML-DSA key data. 65 to (6,5) or 87 to (8,7).

Returns: 44, 65, or 87 on success or a negative value otherwise.


xmlSecGnuTLSTransformMLDSA44GetKlass

xmlSecTransformId xmlSecGnuTLSTransformMLDSA44GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-44 signature transform klass.

Returns: ML-DSA-44 signature transform klass.


xmlSecGnuTLSTransformMLDSA65GetKlass

xmlSecTransformId xmlSecGnuTLSTransformMLDSA65GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-65 signature transform klass.

Returns: ML-DSA-65 signature transform klass.


xmlSecGnuTLSTransformMLDSA87GetKlass

xmlSecTransformId xmlSecGnuTLSTransformMLDSA87GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ML-DSA-87 signature transform klass.

Returns: ML-DSA-87 signature transform klass.


xmlSecGnuTLSKeyDataEdDSAGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataEdDSAGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS EdDSA key data klass.

Returns: pointer to GnuTLS EdDSA key data klass.


xmlSecGnuTLSKeyDataEdDSAAdoptKey

int xmlSecGnuTLSKeyDataEdDSAAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of EdDSA key data.

Sets the value of EdDSA key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to EdDSA key data.
  • pubkey — the pointer to GnuTLS EdDSA public key.
  • privkey — the pointer to GnuTLS EdDSA private key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataEdDSAGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataEdDSAGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS EdDSA public key.

Gets the GnuTLS EdDSA public key from EdDSA key data.

Parameters:

  • data — the pointer to EdDSA key data.

Returns: pointer to GnuTLS public EdDSA key or NULL if an error occurs.


xmlSecGnuTLSKeyDataEdDSAGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataEdDSAGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS EdDSA private key.

Gets the GnuTLS EdDSA private key from EdDSA key data.

Parameters:

  • data — the pointer to EdDSA key data.

Returns: pointer to GnuTLS private EdDSA key or NULL if an error occurs.


xmlSecGnuTLSTransformEdDSAEd25519GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEdDSAEd25519GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The EdDSA-Ed25519 signature transform klass.

Returns: EdDSA-Ed25519 signature transform klass.


xmlSecGnuTLSTransformEdDSAEd448GetKlass

xmlSecTransformId xmlSecGnuTLSTransformEdDSAEd448GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The EdDSA-Ed448 signature transform klass.

Returns: EdDSA-Ed448 signature transform klass.


xmlSecGnuTLSKeyDataXdhGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataXdhGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The GnuTLS XDH key data klass (X25519 and X448).

Returns: pointer to GnuTLS XDH key data klass.


xmlSecGnuTLSKeyDataXdhAdoptKey

int xmlSecGnuTLSKeyDataXdhAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of XDH key data.

Sets the value of XDH key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to XDH key data.
  • pubkey — the pointer to GnuTLS XDH public key.
  • privkey — the pointer to GnuTLS XDH private key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataXdhGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataXdhGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS XDH public key from XDH key data.

Parameters:

  • data — the pointer to XDH key data.

Returns: pointer to GnuTLS public XDH key or NULL if an error occurs.


xmlSecGnuTLSKeyDataXdhGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataXdhGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS XDH private key from XDH key data.

Parameters:

  • data — the pointer to XDH key data.

Returns: pointer to GnuTLS private XDH key or NULL if an error occurs.


xmlSecGnuTLSTransformX25519GetKlass

xmlSecTransformId xmlSecGnuTLSTransformX25519GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The X25519 key agreement transform klass.

Returns: the X25519 key agreement transform klass.


xmlSecGnuTLSTransformX448GetKlass

xmlSecTransformId xmlSecGnuTLSTransformX448GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The X448 key agreement transform klass.

Returns: the X448 key agreement transform klass.


xmlSecGnuTLSTransformEcdhGetKlass

xmlSecTransformId xmlSecGnuTLSTransformEcdhGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ECDH-ES key agreement transform klass.

Returns: the ECDH-ES key agreement transform klass.


xmlSecGnuTLSKeyDataConcatKdfGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataConcatKdfGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ConcatKDF key data klass.

Returns: ConcatKDF key data klass.


xmlSecGnuTLSKeyDataConcatKdfSet

int xmlSecGnuTLSKeyDataConcatKdfSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of ConcatKDF key data.

Parameters:

  • data — the pointer to ConcatKDF key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformConcatKdfGetKlass

xmlSecTransformId xmlSecGnuTLSTransformConcatKdfGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The ConcatKDF key derivation transform klass.

Returns: the ConcatKDF key derivation transform klass.


xmlSecGnuTLSKeyDataHmacGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataHmacGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC key data klass.

Returns: HMAC key data klass.


xmlSecGnuTLSKeyDataHmacSet

int xmlSecGnuTLSKeyDataHmacSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of HMAC key data.

Parameters:

  • data — the pointer to HMAC key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformHmacSha1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformHmacSha1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC-SHA1 transform klass.

Returns: the HMAC-SHA1 transform klass.


xmlSecGnuTLSTransformHmacSha224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformHmacSha224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC-SHA224 transform klass.

Returns: the HMAC-SHA224 transform klass.


xmlSecGnuTLSTransformHmacSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformHmacSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC-SHA256 transform klass.

Returns: the HMAC-SHA256 transform klass.


xmlSecGnuTLSTransformHmacSha384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformHmacSha384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC-SHA384 transform klass.

Returns: the HMAC-SHA384 transform klass.


xmlSecGnuTLSTransformHmacSha512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformHmacSha512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HMAC-SHA512 transform klass.

Returns: the HMAC-SHA512 transform klass.


xmlSecGnuTLSKeyDataPbkdf2GetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataPbkdf2GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The PBKDF2 key data klass.

Returns: PBKDF2 key data klass.


xmlSecGnuTLSKeyDataPbkdf2Set

int xmlSecGnuTLSKeyDataPbkdf2Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of PBKDF2 key data.

Parameters:

  • data — the pointer to PBKDF2 key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformPbkdf2GetKlass

xmlSecTransformId xmlSecGnuTLSTransformPbkdf2GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The PBKDF2 key derivation transform klass.

Returns: the PBKDF2 key derivation transform klass.


xmlSecGnuTLSKeyDataHkdfGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataHkdfGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HKDF key data klass.

Returns: HKDF key data klass.


xmlSecGnuTLSKeyDataHkdfSet

int xmlSecGnuTLSKeyDataHkdfSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of HKDF key data.

Parameters:

  • data — the pointer to HKDF key data.
  • buf — the pointer to key value.
  • bufSize — the key value size (in bytes).

Returns: 0 on success or a negative value if an error occurs.


xmlSecGnuTLSTransformHkdfGetKlass

xmlSecTransformId xmlSecGnuTLSTransformHkdfGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The HKDF key derivation transform klass.

Returns: the HKDF key derivation transform klass.


xmlSecGnuTLSKeyDataRsaGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataRsaGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA key data klass.

Returns: pointer to RSA key data klass.


xmlSecGnuTLSKeyDataRsaAdoptKey

int xmlSecGnuTLSKeyDataRsaAdoptKey(xmlSecKeyDataPtr data, gnutls_pubkey_t pubkey, gnutls_privkey_t privkey);

Source: include/xmlsec/gnutls/crypto.h

Sets the value of RSA key data.

Sets the value of RSA key data. The pubkey and privkey will be owned by the data on success.

Parameters:

  • data — the pointer to RSA key data.
  • pubkey — the pointer to GnuTLS RSA key.
  • privkey — the pointer to GnuTLS RSA key.

Returns: 0 on success or a negative value otherwise.


xmlSecGnuTLSKeyDataRsaGetPublicKey

gnutls_pubkey_t xmlSecGnuTLSKeyDataRsaGetPublicKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS RSA public key from RSA key data.

Parameters:

  • data — the pointer to RSA key data.

Returns: pointer to GnuTLS public RSA key or NULL if an error occurs.


xmlSecGnuTLSKeyDataRsaGetPrivateKey

gnutls_privkey_t xmlSecGnuTLSKeyDataRsaGetPrivateKey(xmlSecKeyDataPtr data);

Source: include/xmlsec/gnutls/crypto.h

Gets the GnuTLS RSA private key from RSA key data.

Parameters:

  • data — the pointer to RSA key data.

Returns: pointer to GnuTLS private RSA key or NULL if an error occurs.


xmlSecGnuTLSTransformRsaSha1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaSha1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA1 signature transform klass.

Returns: RSA-SHA1 signature transform klass.


xmlSecGnuTLSTransformRsaSha224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaSha224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-224 signature transform klass.

Returns: RSA-SHA2-224 signature transform klass.


xmlSecGnuTLSTransformRsaSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-256 signature transform klass.

Returns: RSA-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformRsaSha384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaSha384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-384 signature transform klass.

Returns: RSA-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformRsaSha512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaSha512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-SHA2-512 signature transform klass.

Returns: RSA-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaPssSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-256 signature transform klass.

Returns: RSA-PSS-SHA2-256 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaPssSha384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-384 signature transform klass.

Returns: RSA-PSS-SHA2-384 signature transform klass.


xmlSecGnuTLSTransformRsaPssSha512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaPssSha512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-PSS-SHA2-512 signature transform klass.

Returns: RSA-PSS-SHA2-512 signature transform klass.


xmlSecGnuTLSTransformRsaPkcs1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaPkcs1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The RSA-PKCS1 key transport transform klass.

Returns: RSA-PKCS1 key transport transform klass.


xmlSecGnuTLSTransformRsaOaepGetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaOaepGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

RSA-OAEP key transport klass (XMLEnc 1.0).

The RSA-OAEP key transport transform klass (XMLEnc 1.0).

Returns: RSA-OAEP key transport transform klass.


xmlSecGnuTLSTransformRsaOaepEnc11GetKlass

xmlSecTransformId xmlSecGnuTLSTransformRsaOaepEnc11GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

RSA-OAEP key transport klass (XMLEnc 1.1).

The RSA-OAEP key transport transform klass (XMLEnc 1.1).

Returns: RSA-OAEP key transport transform klass.


xmlSecGnuTLSTransformSha1GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha1GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA-1 digest transform klass.

Returns: pointer to SHA-1 digest transform klass.


xmlSecGnuTLSTransformSha224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA2-224 digest transform klass.

Returns: pointer to SHA2-224 digest transform klass.


xmlSecGnuTLSTransformSha256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA2-256 digest transform klass.

Returns: pointer to SHA2-256 digest transform klass.


xmlSecGnuTLSTransformSha384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA2-384 digest transform klass.

Returns: pointer to SHA2-384 digest transform klass.


xmlSecGnuTLSTransformSha512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA2-512 digest transform klass.

Returns: pointer to SHA2-512 digest transform klass.


xmlSecGnuTLSTransformSha3_224GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha3_224GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA3-224 digest transform klass.

Returns: pointer to SHA3-224 digest transform klass.


xmlSecGnuTLSTransformSha3_256GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha3_256GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA3-256 digest transform klass.

Returns: pointer to SHA3-256 digest transform klass.


xmlSecGnuTLSTransformSha3_384GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha3_384GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA3-384 digest transform klass.

Returns: pointer to SHA3-384 digest transform klass.


xmlSecGnuTLSTransformSha3_512GetKlass

xmlSecTransformId xmlSecGnuTLSTransformSha3_512GetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

SHA3-512 digest transform klass.

Returns: pointer to SHA3-512 digest transform klass.


xmlSecGnuTLSKeyDataDEREncodedKeyValueGetKlass

xmlSecKeyDataId xmlSecGnuTLSKeyDataDEREncodedKeyValueGetKlass(void);

Source: include/xmlsec/gnutls/crypto.h

The public key algorithm and value are DER-encoded in accordance with the value that would be used in the Subject Public Key Info field of an X.509 certificate, per section 4.1.2.7 of [RFC5280]. The DER-encoded value is then base64-encoded.

https://www.w3.org/TR/xmldsig-core1/#sec-DEREncodedKeyValue

<!--targetNamespace="http://www.w3.org/2009/xmldsig11#"-->
<elementname="DEREncodedKeyValue"type="dsig11:DEREncodedKeyValueType"/>
<complexTypename="DEREncodedKeyValueType">
<simpleContent>
<extensionbase="base64Binary">
<attributename=&quot;Id&quot;type="ID"use="optional"/>
</extension>
</simpleContent>
</complexType>

Returns: the dsig11:DEREncodedKeyValue/element processing key data klass.


Clone this wiki locally