-
Notifications
You must be signed in to change notification settings - Fork 113
API XMLSec OpenSSL Crypto
API Group: xmlsec_openssl_crypto
Cryptographic operations provided by the OpenSSL back-end.
Symmetric keys implementation for OpenSSL.
Legacy signatures implementation for OpenSSL.
Private/public (EVP) signatures implementation for OpenSSL.
AES/Camellia Key Transport (RFC 3394) implementation for OpenSSL.
DES Key Transport transforms implementation for OpenSSL.
RSA Key Transport transforms implementation for OpenSSL.
ML-KEM Key Encapsulation Mechanism (KEM) transforms implementation for OpenSSL.
Key agreement transforms implementation for OpenSSL.
OpenSSL KDF (key derivation) transforms implementation.
HMAC transforms implementation for OpenSSL.
Private/public (EVP) keys implementation for OpenSSL.
Digests transforms implementation for OpenSSL.
DEREncodedKeyValue processing for OpenSSL.
Crypto key dat and transforms implementation for OpenSSL. Implementation of keys and tranforms for OpenSSL.
Ciphers transforms implementation for OpenSSL.
ML-KEM (FIPS 203) key encapsulation for XML Encryption using the as:EncapsulationMechanism/ element.
- Encrypt (encapsulate):
- readNode: parse ds:KeyInfo -> recipient public key
- execute: encapsulate(pubkey) -> (kem_ct, ss); ss -> outBuf; ct -> params.ciphertext
- writeNode: write ct from params.ciphertext to enc:CipherData/enc:CipherValue
- Decrypt (decapsulate):
- readNode: parse ds:KeyInfo -> recipient private key; parse enc:CipherData/enc:CipherValue -> params.ciphertext
- execute: decapsulate(privkey, kem_ct) -> ss; ss -> outBuf (becomes CEK)
Defined as: xmlSecOpenSSLKeyDataAesGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES key klass.
Defined as: xmlSecOpenSSLTransformAes128CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES128 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformAes192CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES192 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformAes256CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES256 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformAes128GcmGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES128 GCM cipher transform klass.
Defined as: xmlSecOpenSSLTransformAes192GcmGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES192 GCM cipher transform klass.
Defined as: xmlSecOpenSSLTransformAes256GcmGetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES256 GCM cipher transform klass.
Defined as: xmlSecOpenSSLTransformKWAes128GetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES 128 key wrap transform klass.
Defined as: xmlSecOpenSSLTransformKWAes192GetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES 192 key wrap transform klass.
Defined as: xmlSecOpenSSLTransformKWAes256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The AES 256 key wrap transform klass.
Defined as: xmlSecOpenSSLKeyDataCamelliaGetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia key klass.
Defined as: xmlSecOpenSSLTransformCamellia128CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia128 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformCamellia192CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia192 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformCamellia256CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia256 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformKWCamellia128GetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia 128 key wrap transform klass.
Defined as: xmlSecOpenSSLTransformKWCamellia192GetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia 192 key wrap transform klass.
Defined as: xmlSecOpenSSLTransformKWCamellia256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The Camellia 256 key wrap transform klass.
Defined as: xmlSecOpenSSLTransformChaCha20GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ChaCha20 stream cipher transform klass.
Defined as: xmlSecOpenSSLTransformChaCha20Poly1305GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ChaCha20-Poly1305 AEAD transform klass.
Defined as: xmlSecOpenSSLKeyDataChaCha20GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ChaCha20 key data klass.
Defined as: xmlSecOpenSSLKeyDataConcatKdfGetKlass()
Source: include/xmlsec/openssl/crypto.h
The ConcatKDF key derivation key klass.
Defined as: xmlSecOpenSSLTransformConcatKdfGetKlass()
Source: include/xmlsec/openssl/crypto.h
The ConcatKDF key derivation transform klass.
Defined as: xmlSecOpenSSLKeyDataDesGetKlass()
Source: include/xmlsec/openssl/crypto.h
The DES key klass.
Defined as: xmlSecOpenSSLTransformDes3CbcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The DES3 CBC cipher transform klass.
Defined as: xmlSecOpenSSLTransformKWDes3GetKlass()
Source: include/xmlsec/openssl/crypto.h
The DES3 KW transform klass.
Defined as: xmlSecOpenSSLKeyDataDsaGetKlass()
Source: include/xmlsec/openssl/crypto.h
The DSA key klass.
Defined as: xmlSecOpenSSLTransformDsaSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The DSA SHA1 signature transform klass.
Defined as: xmlSecOpenSSLTransformDsaSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The DSA SHA2-256 signature transform klass.
Defined as: xmlSecOpenSSLKeyDataDhGetKlass()
Source: include/xmlsec/openssl/crypto.h
The DH key klass.
Defined as: xmlSecOpenSSLTransformDhEsGetKlass()
Source: include/xmlsec/openssl/crypto.h
The DH key agreement transform klass.
Defined as: xmlSecOpenSSLKeyDataEcGetKlass()
Source: include/xmlsec/openssl/crypto.h
The EC key klass.
Defined as: xmlSecOpenSSLTransformEcdsaRipemd160GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-RIPEMD160 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA1 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-224 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-256 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-384 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-512 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha3_224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-224 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha3_256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-256 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha3_384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-384 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdsaSha3_512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-512 signature transform klass.
Defined as: xmlSecOpenSSLTransformEcdhGetKlass()
Source: include/xmlsec/openssl/crypto.h
The ECDH key agreement transform klass.
Defined as: xmlSecOpenSSLKeyDataGost2001GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST2001 key klass.
Defined as: xmlSecOpenSSLTransformGostR3411_94GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOSTR3411_94 digest transform klass.
Defined as: xmlSecOpenSSLTransformGost2001GostR3411_94GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST-2001 GOSTR3411-94 signature transform klass.
The GOST2001 GOSTR3411_94 signature transform klass.
Defined as: xmlSecOpenSSLKeyDataGostR3410_2012_256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST R 34.10-2012 256 key klass.
Defined as: xmlSecOpenSSLKeyDataGostR3410_2012_512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST R 34.10-2012 512 key klass.
Defined as: xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_256GetKlass()
Source: include/xmlsec/openssl/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.
Defined as: xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_512GetKlass()
Source: include/xmlsec/openssl/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.
Defined as: xmlSecOpenSSLTransformGostR3411_2012_256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST R 34.11-2012/256 hash transform klass.
The GOST R 34.11-2012 256 bit hash transform klass.
Defined as: xmlSecOpenSSLTransformGostR3411_2012_512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The GOST R 34.11-2012/512 hash transform klass.
The GOST R 34.11-2012 512 bit hash transform klass.
Defined as: xmlSecOpenSSLKeyDataHmacGetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC key klass.
Defined as: xmlSecOpenSSLTransformHmacMd5GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with MD5 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacRipemd160GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with RipeMD160 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with SHA1 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacSha224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with SHA2-224 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with SHA2-256 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacSha384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with SHA2-384 signature transform klass.
Defined as: xmlSecOpenSSLTransformHmacSha512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The HMAC with SHA2-512 signature transform klass.
Defined as: xmlSecOpenSSLTransformMd5GetKlass()
Source: include/xmlsec/openssl/crypto.h
The MD5 digest transform klass.
Defined as: xmlSecOpenSSLKeyDataPbkdf2GetKlass()
Source: include/xmlsec/openssl/crypto.h
The PBKDF2 key derivation key klass.
Defined as: xmlSecOpenSSLTransformPbkdf2GetKlass()
Source: include/xmlsec/openssl/crypto.h
The PBKDF2 key derivation transform klass.
Defined as: xmlSecOpenSSLKeyDataHkdfGetKlass()
Source: include/xmlsec/openssl/crypto.h
The HKDF key derivation key klass.
Defined as: xmlSecOpenSSLTransformHkdfGetKlass()
Source: include/xmlsec/openssl/crypto.h
The HKDF key derivation transform klass.
Defined as: xmlSecOpenSSLTransformRipemd160GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RIPEMD160 digest transform klass.
Defined as: xmlSecOpenSSLKeyDataRsaGetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA key klass.
Defined as: xmlSecOpenSSLTransformRsaMd5GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-MD5 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaRipemd160GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-RIPEMD160 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-SHA1 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaSha224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-224 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-256 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaSha384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-384 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaSha512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-512 signature transform klass.
Defined as: xmlSecOpenSSLTransformRsaPkcs1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA PKCS1 key transport transform klass.
Defined as: xmlSecOpenSSLTransformRsaOaepGetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA OAEP key transport transform klass.
The RSA PKCS1 key transport transform klass (XMLEnc 1.0).
Defined as: xmlSecOpenSSLTransformRsaOaepEnc11GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA OAEP-Enc11 key transport transform klass.
The RSA PKCS1 key transport transform klass (XMLEnc 1.1).
Defined as: xmlSecOpenSSLTransformRsaPssSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA1 signature transform klass.
The RSA-PSS-SHA1 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-224 signature transform klass.
The RSA-PSS-SHA2-224 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-256 signature transform klass.
The RSA-PSS-SHA2-256 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-384 signature transform klass.
The RSA-PSS-SHA2-384 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-512 signature transform klass.
The RSA-PSS-SHA2-512 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha3_224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-224 signature transform klass.
The RSA-PSS-SHA3-224 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha3_256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-256 signature transform klass.
The RSA-PSS-SHA3-256 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha3_384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-384 signature transform klass.
The RSA-PSS-SHA3-384 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLTransformRsaPssSha3_512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-512 signature transform klass.
The RSA-PSS-SHA3-512 signature transform klass (https://www.rfc-editor.org/rfc/rfc9231.txt).
Defined as: xmlSecOpenSSLKeyDataMLDSAGetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-DSA key klass.
Defined as: xmlSecOpenSSLTransformMLDSA44GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-DSA-44 signature transform klass.
Defined as: xmlSecOpenSSLTransformMLDSA65GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-DSA-65 signature transform klass.
Defined as: xmlSecOpenSSLTransformMLDSA87GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-DSA-87 signature transform klass.
Defined as: xmlSecOpenSSLKeyDataMLKEMGetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-KEM key klass.
Defined as: xmlSecOpenSSLTransformMLKEM512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-KEM-512 key transport transform klass.
Defined as: xmlSecOpenSSLTransformMLKEM768GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-KEM-768 key transport transform klass.
Defined as: xmlSecOpenSSLTransformMLKEM1024GetKlass()
Source: include/xmlsec/openssl/crypto.h
The ML-KEM-1024 key transport transform klass.
Defined as: xmlSecOpenSSLKeyDataSLHDSAGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA key klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_128fGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-128f signature transform klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_128sGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-128s signature transform klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_192fGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-192f signature transform klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_192sGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-192s signature transform klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_256fGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-256f signature transform klass.
Defined as: xmlSecOpenSSLTransformSLHDSA_SHA2_256sGetKlass()
Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-256s signature transform klass.
Defined as: xmlSecOpenSSLKeyDataEdDSAGetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA key klass.
Defined as: xmlSecOpenSSLTransformEdDSAEd25519GetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519 signature transform klass.
Defined as: xmlSecOpenSSLTransformEdDSAEd25519ctxGetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519ctx signature transform klass.
Defined as: xmlSecOpenSSLTransformEdDSAEd25519phGetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519ph signature transform klass.
Defined as: xmlSecOpenSSLTransformEdDSAEd448GetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed448 signature transform klass.
Defined as: xmlSecOpenSSLTransformEdDSAEd448phGetKlass()
Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed448ph signature transform klass.
Defined as: xmlSecOpenSSLKeyDataXdhGetKlass()
Source: include/xmlsec/openssl/crypto.h
The XDH key klass.
Defined as: xmlSecOpenSSLTransformX25519GetKlass()
Source: include/xmlsec/openssl/crypto.h
The X25519 key agreement transform klass.
Defined as: xmlSecOpenSSLTransformX448GetKlass()
Source: include/xmlsec/openssl/crypto.h
The X448 key agreement transform klass.
Defined as: xmlSecOpenSSLTransformSha1GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA1 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA2-224 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA2-256 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA2-384 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA2-512 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha3_224GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA3-224 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha3_256GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA3-256 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha3_384GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA3-384 digest transform klass.
Defined as: xmlSecOpenSSLTransformSha3_512GetKlass()
Source: include/xmlsec/openssl/crypto.h
The SHA3-512 digest transform klass.
xmlSecCryptoDLFunctionsPtr xmlSecCryptoGetFunctions_openssl(void);Source: include/xmlsec/openssl/crypto.h
Gets the xmlsec-openssl functions table.
End exclude from Doxygen
Gets the pointer to xmlsec-openssl functions table.
Returns: the xmlsec-openssl functions table or NULL if an error occurs.
int xmlSecOpenSSLInit(void);Source: include/xmlsec/openssl/crypto.h
Initializes the OpenSSL crypto engine.
XMLSec library specific crypto engine initialization.
Returns: 0 on success or a negative value otherwise.
int xmlSecOpenSSLShutdown(void);Source: include/xmlsec/openssl/crypto.h
XMLSec library specific crypto engine shutdown.
Returns: 0 on success or a negative value otherwise.
int xmlSecOpenSSLKeysMngrInit(xmlSecKeysMngrPtr mngr);Source: include/xmlsec/openssl/crypto.h
Adds OpenSSL specific key data stores.
Adds OpenSSL specific key data stores in keys manager.
Parameters:
-
mngr— the pointer to keys manager.
Returns: 0 on success or a negative value otherwise.
int xmlSecOpenSSLGenerateRandom(xmlSecBufferPtr buffer, xmlSecSize size);Source: include/xmlsec/openssl/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.
int xmlSecOpenSSLSetDefaultTrustedCertsFolder(const xmlChar *path);Source: include/xmlsec/openssl/crypto.h
Sets the default trusted certs folder.
Parameters:
-
path— the default trusted certs path.
Returns: 0 on success or a negative value if an error occurs.
const xmlChar * xmlSecOpenSSLGetDefaultTrustedCertsFolder(void);Source: include/xmlsec/openssl/crypto.h
Gets the default trusted certs folder.
Returns: the default trusted cert folder.
BIO * xmlSecOpenSSLCreateMemBio(void);Source: include/xmlsec/openssl/crypto.h
Creates a memory BIO for OpenSSL 3.0.
Creates a memory BIO using xmlSecOpenSSLGetLibCtx() for OpenSSL 3.0.
Returns: the pointer to BIO object or NULL if an error occurs.
BIO * xmlSecOpenSSLCreateMemBufBio(const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/crypto.h
Creates a read-only memory BIO using xmlSecOpenSSLGetLibCtx() for.
Parameters:
-
buf— the data -
bufSize— the data size OpenSSL 3.0 containinglenbytes of data frombuf.
Returns: the pointer to BIO object or NULL if an error occurs/
BIO * xmlSecOpenSSLCreateReadFileBio(const char *path);Source: include/xmlsec/openssl/crypto.h
Creates a read-only file BIO using xmlSecOpenSSLGetLibCtx() for.
Parameters:
-
path— the file path OpenSSL 3.0.
Returns: the pointer to BIO object or NULL if an error occurs/
xmlSecKeyDataId xmlSecOpenSSLKeyDataAesGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The AES key data klass.
Returns: AES key data klass.
int xmlSecOpenSSLKeyDataAesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformAes128CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 128 CBC encryption transform klass.
Returns: pointer to AES 128 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformAes192CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 192 CBC encryption transform klass.
Returns: pointer to AES 192 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformAes256CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 256 CBC encryption transform klass.
Returns: pointer to AES 256 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformAes128GcmGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 128 GCM encryption transform klass.
Returns: pointer to AES 128 GCM encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformAes192GcmGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 192 GCM encryption transform klass.
Returns: pointer to AES 192 GCM encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformAes256GcmGetKlass(void);Source: include/xmlsec/openssl/crypto.h
AES 256 GCM encryption transform klass.
Returns: pointer to AES 256 GCM encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformKWAes128GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The AES-128 key wrapper transform klass.
Returns: AES-128 key wrapper transform klass.
xmlSecTransformId xmlSecOpenSSLTransformKWAes192GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The AES-192 key wrapper transform klass.
Returns: AES-192 key wrapper transform klass.
xmlSecTransformId xmlSecOpenSSLTransformKWAes256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The AES-256 key wrapper transform klass.
Returns: AES-256 key wrapper transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataCamelliaGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The Camellia key data klass.
Returns: Camellia key data klass.
int xmlSecOpenSSLKeyDataCamelliaSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformCamellia128CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
Camellia 128 CBC encryption transform klass.
Returns: pointer to Camellia 128 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformCamellia192CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
Camellia 192 CBC encryption transform klass.
Returns: pointer to Camellia 192 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformCamellia256CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
Camellia 256 CBC encryption transform klass.
Returns: pointer to Camellia 256 CBC encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformKWCamellia128GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The Camellia-128 key wrapper transform klass.
Returns: Camellia-128 key wrapper transform klass.
xmlSecTransformId xmlSecOpenSSLTransformKWCamellia192GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The Camellia-192 key wrapper transform klass.
Returns: Camellia-192 key wrapper transform klass.
xmlSecTransformId xmlSecOpenSSLTransformKWCamellia256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The Camellia-256 key wrapper transform klass.
Returns: Camellia-256 key wrapper transform klass.
xmlSecTransformId xmlSecOpenSSLTransformChaCha20GetKlass(void);Source: include/xmlsec/openssl/crypto.h
ChaCha20 stream cipher transform.
Returns: pointer to ChaCha20 transform.
xmlSecTransformId xmlSecOpenSSLTransformChaCha20Poly1305GetKlass(void);Source: include/xmlsec/openssl/crypto.h
ChaCha20-Poly1305 AEAD encryption transform.
Returns: pointer to ChaCha20-Poly1305 transform.
xmlSecKeyDataId xmlSecOpenSSLKeyDataChaCha20GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ChaCha20 key data klass.
Returns: ChaCha20 key data klass.
int xmlSecOpenSSLKeyDataChaCha20Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecKeyDataId xmlSecOpenSSLKeyDataConcatKdfGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ConcatKdf key data klass.
Returns: ConcatKdf key data klass.
int xmlSecOpenSSLKeyDataConcatKdfSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformConcatKdfGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ConcatKDF key derivation transform klass.
Returns: the ConcatKDF transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataDesGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DES key data klass.
Returns: DES key data klass.
int xmlSecOpenSSLKeyDataDesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformDes3CbcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
Triple DES CBC encryption transform klass.
Returns: pointer to Triple DES encryption transform.
xmlSecTransformId xmlSecOpenSSLTransformKWDes3GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The Triple DES key wrapper transform klass.
Returns: Triple DES key wrapper transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataDsaGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DSA key data klass.
Returns: pointer to DSA key data klass.
int xmlSecOpenSSLKeyDataDsaAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the DSA key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to DSA key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataDsaGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from DSA key data.
Parameters:
-
data— the pointer to DSA key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformDsaSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DSA-SHA1 signature transform klass.
Returns: DSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformDsaSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DSA-SHA2-256 signature transform klass.
Returns: DSA-SHA2-256 signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataDhGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DH key data klass.
Returns: pointer to DH key data klass.
int xmlSecOpenSSLKeyDataDhAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the DH key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to DH key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataDhGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from DH key data.
Parameters:
-
data— the pointer to DH key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformDhEsGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The DH key agreement transform klass.
Returns: the DH key agreement transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataEcGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EC key data klass.
Returns: pointer to EC key data klass.
int xmlSecOpenSSLKeyDataEcAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the EC key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to EC key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataEcGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from EC key data.
Parameters:
-
data— the pointer to EC key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaRipemd160GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-RIPEMD160 signature transform klass.
Returns: ECDSA-RIPEMD160 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA1 signature transform klass.
Returns: ECDSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-224 signature transform klass.
Returns: ECDSA-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-256 signature transform klass.
Returns: ECDSA-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-384 signature transform klass.
Returns: ECDSA-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA2-512 signature transform klass.
Returns: ECDSA-SHA2-512 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha3_224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-224 signature transform klass.
Returns: ECDSA-SHA3-224 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha3_256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-256 signature transform klass.
Returns: ECDSA-SHA3-256 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha3_384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-384 signature transform klass.
Returns: ECDSA-SHA3-384 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdsaSha3_512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDSA-SHA3-512 signature transform klass.
Returns: ECDSA-SHA3-512 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEcdhGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ECDH key agreement transform klass.
Returns: the ECDH key agreement transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataGost2001GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The GOST2001 key data klass.
Returns: pointer to GOST2001 key data klass.
xmlSecTransformId xmlSecOpenSSLTransformGostR3411_94GetKlass(void);Source: include/xmlsec/openssl/crypto.h
GOSTR3411_94 digest transform klass.
Returns: pointer to GOSTR3411_94 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformGost2001GostR3411_94GetKlass(void);Source: include/xmlsec/openssl/crypto.h
GOST2001-GOSTR3411_94 signature transform klass.
The GOST2001-GOSTR3411_94 signature transform klass.
Returns: GOST2001-GOSTR3411_94 signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataGostR3410_2012_256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The GOST R 34.10-2012 256 bit key data klass.
Returns: pointer to GOST R 34.10-2012 256 bit key data klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataGostR3410_2012_512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The GOST R 34.10-2012 512 bit key data klass.
Returns: pointer to GOST R 34.10-2012 512 bit key data klass.
xmlSecTransformId xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_256GetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformGostR3410_2012GostR3411_2012_512GetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformGostR3411_2012_256GetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformGostR3411_2012_512GetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecKeyDataId xmlSecOpenSSLKeyDataHmacGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC key data klass.
Returns: HMAC key data klass.
int xmlSecOpenSSLKeyDataHmacSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformHmacMd5GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-MD5 transform klass.
Returns: the HMAC-MD5 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacRipemd160GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-RIPEMD160 transform klass.
Returns: the HMAC-RIPEMD160 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-SHA1 transform klass.
Returns: the HMAC-SHA1 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacSha224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-SHA224 transform klass.
Returns: the HMAC-SHA224 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-SHA256 transform klass.
Returns: the HMAC-SHA256 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacSha384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-SHA384 transform klass.
Returns: the HMAC-SHA384 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformHmacSha512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HMAC-SHA512 transform klass.
Returns: the HMAC-SHA512 transform klass.
xmlSecTransformId xmlSecOpenSSLTransformMd5GetKlass(void);Source: include/xmlsec/openssl/crypto.h
MD5 digest transform klass.
Returns: pointer to MD5 digest transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataPbkdf2GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The PBKDF2 key data klass.
Returns: PBKDF2 key data klass.
int xmlSecOpenSSLKeyDataPbkdf2Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformPbkdf2GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The PBKDF2 key derivation transform klass.
Returns: the PBKDF2 transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataHkdfGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HKDF key data klass.
Returns: HKDF key data klass.
int xmlSecOpenSSLKeyDataHkdfSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/openssl/crypto.h
Sets the value of HKDF key data (IKM).
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.
xmlSecTransformId xmlSecOpenSSLTransformHkdfGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The HKDF key derivation transform klass.
Returns: the HKDF transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRipemd160GetKlass(void);Source: include/xmlsec/openssl/crypto.h
RIPEMD-160 digest transform klass.
Returns: pointer to RIPEMD-160 digest transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataRsaGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL RSA key data klass.
Returns: pointer to OpenSSL RSA key data klass.
int xmlSecOpenSSLKeyDataRsaAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the RSA key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to RSA key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataRsaGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from RSA key data.
Parameters:
-
data— the pointer to RSA key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformRsaMd5GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-MD5 signature transform klass.
Returns: RSA-MD5 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaRipemd160GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-RIPEMD160 signature transform klass.
Returns: RSA-RIPEMD160 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-SHA1 signature transform klass.
Returns: RSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaSha224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-224 signature transform klass.
Returns: RSA-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-256 signature transform klass.
Returns: RSA-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaSha384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-384 signature transform klass.
Returns: RSA-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaSha512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-SHA2-512 signature transform klass.
Returns: RSA-SHA2-512 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPkcs1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PKCS1 key transport transform klass.
Returns: RSA-PKCS1 key transport transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaOaepGetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformRsaOaepEnc11GetKlass(void);Source: include/xmlsec/openssl/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.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA1 signature transform klass.
Returns: RSA-PSS-SHA1 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-224 signature transform klass.
Returns: RSA-PSS-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-256 signature transform klass.
Returns: RSA-PSS-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-384 signature transform klass.
Returns: RSA-PSS-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA2-512 signature transform klass.
Returns: RSA-PSS-SHA2-512 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha3_224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-224 signature transform klass.
Returns: RSA-PSS-SHA3-224 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha3_256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-256 signature transform klass.
Returns: RSA-PSS-SHA3-256 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha3_384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-384 signature transform klass.
Returns: RSA-PSS-SHA3-384 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformRsaPssSha3_512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The RSA-PSS-SHA3-512 signature transform klass.
Returns: RSA-PSS-SHA3-512 signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataMLDSAGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL ML-DSA data klass.
Returns: pointer to OpenSSL ML-DSA key data klass.
int xmlSecOpenSSLKeyDataMLDSAAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the MLDSA key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to MLDSA key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataMLDSAGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from MLDSA key data.
Parameters:
-
data— the pointer to MLDSA key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
int xmlSecOpenSSLKeyDataMLDSAGetKL(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets ML-DSA key (k, l) value: 44 corresponds to (4,4),.
Parameters:
-
data— the pointer to MLDSA key data. 65 to (6,5) or 87 to (8,7).
Returns: 44, 65, or 87 on success or a negative value otherwise.
xmlSecTransformId xmlSecOpenSSLTransformMLDSA44GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-DSA-44 signature transform klass.
Returns: ML-DSA-44 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformMLDSA65GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-DSA-65 signature transform klass.
Returns: ML-DSA-65 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformMLDSA87GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-DSA-87 signature transform klass.
Returns: ML-DSA-87 signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataMLKEMGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL ML-KEM data klass.
Returns: pointer to OpenSSL ML-KEM key data klass.
int xmlSecOpenSSLKeyDataMLKEMAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the ML-KEM key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to ML-KEM key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataMLKEMGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from ML-KEM key data.
Parameters:
-
data— the pointer to ML-KEM key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
int xmlSecOpenSSLKeyDataMLKEMGetKL(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the ML-KEM key size (512, 768, or 1024).
Parameters:
-
data— the pointer to ML-KEM key data.
Returns: 512, 768, or 1024 on success or a negative value otherwise.
xmlSecTransformId xmlSecOpenSSLTransformMLKEM512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-KEM-512 key transport transform klass.
Returns: ML-KEM-512 key transport transform klass.
xmlSecTransformId xmlSecOpenSSLTransformMLKEM768GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-KEM-768 key transport transform klass.
Returns: ML-KEM-768 key transport transform klass.
xmlSecTransformId xmlSecOpenSSLTransformMLKEM1024GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The ML-KEM-1024 key transport transform klass.
Returns: ML-KEM-1024 key transport transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataSLHDSAGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL SLH-DSA data klass.
Returns: pointer to OpenSSL SLH-DSA key data klass.
int xmlSecOpenSSLKeyDataSLHDSAAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the SLHDSA key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to SLHDSA key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataSLHDSAGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from SLHDSA key data.
Parameters:
-
data— the pointer to SLHDSA key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_128fGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-128f signature transform klass.
Returns: SLH-DSA-SHA2-128f signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_128sGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-128s signature transform klass.
Returns: SLH-DSA-SHA2-128s signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_192fGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-192f signature transform klass.
Returns: SLH-DSA-SHA2-192f signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_192sGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-192s signature transform klass.
Returns: SLH-DSA-SHA2-192s signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_256fGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-256f signature transform klass.
Returns: SLH-DSA-SHA2-256f signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSLHDSA_SHA2_256sGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The SLH-DSA-SHA2-256s signature transform klass.
Returns: SLH-DSA-SHA2-256s signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataEdDSAGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL EdDSA data klass.
Returns: pointer to OpenSSL EdDSA key data klass.
int xmlSecOpenSSLKeyDataEdDSAAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the EdDSA key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to EdDSA key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataEdDSAGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from EdDSA key data.
Parameters:
-
data— the pointer to EdDSA key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformEdDSAEd25519GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519 signature transform klass.
Returns: EdDSA-Ed25519 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEdDSAEd25519ctxGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519ctx signature transform klass.
Returns: EdDSA-Ed25519ctx signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEdDSAEd25519phGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed25519ph signature transform klass.
Returns: EdDSA-Ed25519ph signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEdDSAEd448GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed448 signature transform klass.
Returns: EdDSA-Ed448 signature transform klass.
xmlSecTransformId xmlSecOpenSSLTransformEdDSAEd448phGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The EdDSA-Ed448ph signature transform klass.
Returns: EdDSA-Ed448ph signature transform klass.
xmlSecKeyDataId xmlSecOpenSSLKeyDataXdhGetKlass(void);Source: include/xmlsec/openssl/crypto.h
The OpenSSL XDH data klass.
Returns: pointer to OpenSSL XDH key data klass.
int xmlSecOpenSSLKeyDataXdhAdoptEvp(xmlSecKeyDataPtr data, EVP_PKEY *pKey);Source: include/xmlsec/openssl/crypto.h
Sets the XDH key data value to OpenSSL EVP key.
Parameters:
-
data— the pointer to XDH key data. -
pKey— the pointer to OpenSSL EVP key.
Returns: 0 on success or a negative value otherwise.
EVP_PKEY * xmlSecOpenSSLKeyDataXdhGetEvp(xmlSecKeyDataPtr data);Source: include/xmlsec/openssl/crypto.h
Gets the OpenSSL EVP key from XDH key data.
Parameters:
-
data— the pointer to XDH key data.
Returns: pointer to OpenSSL EVP key or NULL if an error occurs.
xmlSecTransformId xmlSecOpenSSLTransformX25519GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The X25519 key agreement transform klass.
Returns: the X25519 key agreement transform klass.
xmlSecTransformId xmlSecOpenSSLTransformX448GetKlass(void);Source: include/xmlsec/openssl/crypto.h
The X448 key agreement transform klass.
Returns: the X448 key agreement transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha1GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA-1 digest transform klass.
Returns: pointer to SHA-1 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA2-224 digest transform klass.
Returns: pointer to SHA2-224 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA2-256 digest transform klass.
Returns: pointer to SHA2-256 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA2-384 digest transform klass.
Returns: pointer to SHA2-384 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA2-512 digest transform klass.
Returns: pointer to SHA2-512 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha3_224GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA3-224 digest transform klass.
Returns: pointer to SHA3-224 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha3_256GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA3-256 digest transform klass.
Returns: pointer to SHA3-256 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha3_384GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA3-384 digest transform klass.
Returns: pointer to SHA3-384 digest transform klass.
xmlSecTransformId xmlSecOpenSSLTransformSha3_512GetKlass(void);Source: include/xmlsec/openssl/crypto.h
SHA3-512 digest transform klass.
Returns: pointer to SHA3-512 digest transform klass.
void xmlSecOpenSSLErrorsDefaultCallback(const char *file, int line, const char *func, const char *errorObject, const char *errorSubject, int reason, const char *msg);Source: include/xmlsec/openssl/crypto.h
The errors reporting callback function.
Parameters:
-
file— the error location file name (FILE macro). -
line— the error location line number (LINE macro). -
func— the error location function name (FUNCTION macro). -
errorObject— the error specific error object -
errorSubject— the error specific error subject. -
reason— the error code. -
msg— the additional error message.