-
Notifications
You must be signed in to change notification settings - Fork 109
API XMLSec NSS Crypto
API Group: xmlsec_nss_crypto
Cryptographic operations provided by the NSS back-end.
Symmetric keys implementation for NSS.
Signatures implementation for NSS.
AES/Camellia Key Transport (RFC 3394) implementation for NSS.
DES Key Transport transforms implementation for NSS.
RSA Key Transport transforms implementation for NSS.
Key agreement transforms implementation for NSS.
KDF (key derivation) transforms implementation for NSS.
HMAC transforms implementation for NSS.
Digests transforms implementation for NSS.
DEREncodedKeyValue processing for NSS.
Crypto key dat and transforms implementation for NSS. Implementation of keys and tranforms for NSS.
Ciphers transforms implementation for NSS.
Ciphers AEAD transforms implementation for NSS.
XML Security Library (http://www.aleksey.com/xmlsec).
This is free software; see the Copyright file in the source distribution for precise wording.
Copyright (C) 2002-2026 Aleksey Sanin aleksey@aleksey.com. All Rights Reserved.
XML Security Library (http://www.aleksey.com/xmlsec).
This is free software; see the Copyright file in the source distribution for precise wording.
Copyright (C) 2002-2026 Aleksey Sanin aleksey@aleksey.com. All Rights Reserved. Copyright (c) 2003 America Online, Inc. All rights reserved.
XML Security Library (http://www.aleksey.com/xmlsec).
This is free software; see the Copyright file in the source distribution for precise wording.
Copyright (C) 2003-2026 Aleksey Sanin aleksey@aleksey.com. All Rights Reserved. Copyright (c) 2003 America Online, Inc. All rights reserved.
XML Security Library (http://www.aleksey.com/xmlsec).
This is free software; see the Copyright file in the source distribution for precise wording.
Copyright (c) 2003 America Online, Inc. All rights reserved. Copyright (C) 2002-2026 Aleksey Sanin aleksey@aleksey.com. All Rights Reserved.
Defined as: 1
Source: include/xmlsec/nss/crypto.h
MD5 was removed (https://bugs.gentoo.org/764437)
XDH support requires public NSS KeyType values for Ed25519/X25519/X448. In particular, ecMontKey used by xmlsec was added in NSS 3.103.
Defined as: 1
Source: include/xmlsec/nss/crypto.h
Defined if XDH key agreement is not supported on this NSS platform.
Defined if XDH key agreement is not supported by NSS on this platform (requires NSS >= 3.103).
Defined as: 1
Source: include/xmlsec/nss/crypto.h
Defined if EdDSA signatures are not supported on this NSS platform.
Defined if EdDSA signatures are not supported by NSS on this platform (requires NSS >= 3.99).
Defined as: 1
Source: include/xmlsec/nss/crypto.h
Defined if HKDF key derivation is not supported on this NSS platform.
Defined if HKDF key derivation is not supported by NSS on this platform (requires PKCS#11 HKDF mechanism support).
Defined as: xmlSecNssKeyDataAesGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES key data klass.
Defined as: xmlSecNssTransformAes128CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES128 CBC cipher transform klass.
Defined as: xmlSecNssTransformAes192CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES192 CBC cipher transform klass.
Defined as: xmlSecNssTransformAes256CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES256 CBC cipher transform klass.
Defined as: xmlSecNssTransformAes128GcmGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES128 GCM cipher transform klass.
Defined as: xmlSecNssTransformAes192GcmGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES192 GCM cipher transform klass.
Defined as: xmlSecNssTransformAes256GcmGetKlass()
Source: include/xmlsec/nss/crypto.h
The AES256 GCM cipher transform klass.
Defined as: xmlSecNssTransformKWAes128GetKlass()
Source: include/xmlsec/nss/crypto.h
The AES 128 key wrap transform klass.
Defined as: xmlSecNssTransformKWAes192GetKlass()
Source: include/xmlsec/nss/crypto.h
The AES 192 key wrap transform klass.
Defined as: xmlSecNssTransformKWAes256GetKlass()
Source: include/xmlsec/nss/crypto.h
The AES 256 key wrap transform klass.
Defined as: xmlSecNssKeyDataCamelliaGetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia key data klass.
Defined as: xmlSecNssTransformCamellia128CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia128 CBC cipher transform klass.
Defined as: xmlSecNssTransformCamellia192CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia192 CBC cipher transform klass.
Defined as: xmlSecNssTransformCamellia256CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia256 CBC cipher transform klass.
Defined as: xmlSecNssTransformKWCamellia128GetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia 128 key wrap transform klass.
Defined as: xmlSecNssTransformKWCamellia192GetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia 192 key wrap transform klass.
Defined as: xmlSecNssTransformKWCamellia256GetKlass()
Source: include/xmlsec/nss/crypto.h
The Camellia 256 key wrap transform klass.
Defined as: xmlSecNssKeyDataDesGetKlass()
Source: include/xmlsec/nss/crypto.h
The DES key data klass.
Defined as: xmlSecNssTransformDes3CbcGetKlass()
Source: include/xmlsec/nss/crypto.h
The Triple DES CBC cipher transform klass.
Defined as: xmlSecNssTransformKWDes3GetKlass()
Source: include/xmlsec/nss/crypto.h
The DES3 KW transform klass.
Defined as: xmlSecNssKeyDataChaCha20GetKlass()
Source: include/xmlsec/nss/crypto.h
The ChaCha20 key data klass.
Defined as: xmlSecNssTransformChaCha20Poly1305GetKlass()
Source: include/xmlsec/nss/crypto.h
The ChaCha20-Poly1305 AEAD transform klass.
Defined as: xmlSecNssKeyDataDsaGetKlass()
Source: include/xmlsec/nss/crypto.h
The DSA key klass.
Defined as: xmlSecNssTransformDsaSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The DSA SHA1 signature transform klass.
Defined as: xmlSecNssTransformDsaSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The DSA SHA2-256 signature transform klass.
Defined as: xmlSecNsskeyDataEcGetKlass()
Source: include/xmlsec/nss/crypto.h
The EC key klass.
Defined as: xmlSecNssTransformEcdhGetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDH key agreement transform klass.
Defined as: xmlSecNssTransformEcdsaSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDSA SHA1 signature transform klass.
Defined as: xmlSecNssTransformEcdsaSha224GetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDSA SHA2-224 signature transform klass.
Defined as: xmlSecNssTransformEcdsaSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDSA SHA2-256 signature transform klass.
Defined as: xmlSecNssTransformEcdsaSha384GetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDSA SHA2-384 signature transform klass.
Defined as: xmlSecNssTransformEcdsaSha512GetKlass()
Source: include/xmlsec/nss/crypto.h
The ECDSA SHA2-512 signature transform klass.
Defined as: xmlSecNssKeyDataHmacGetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC key data klass.
Defined as: xmlSecNssTransformHmacRipemd160GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with RipeMD160 signature transform klass.
Defined as: xmlSecNssTransformHmacSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with SHA1 signature transform klass.
Defined as: xmlSecNssTransformHmacSha224GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with SHA2-224 signature transform klass.
Defined as: xmlSecNssTransformHmacSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with SHA2-256 signature transform klass.
Defined as: xmlSecNssTransformHmacSha384GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with SHA2-384 signature transform klass.
Defined as: xmlSecNssTransformHmacSha512GetKlass()
Source: include/xmlsec/nss/crypto.h
The HMAC with SHA2-512 signature transform klass.
Defined as: xmlSecNssKeyDataPbkdf2GetKlass()
Source: include/xmlsec/nss/crypto.h
The PBKDF2 key data klass.
Defined as: xmlSecNssTransformPbkdf2GetKlass()
Source: include/xmlsec/nss/crypto.h
The PBKDF2 key derivation transform klass.
Defined as: xmlSecNssKeyDataConcatKdfGetKlass()
Source: include/xmlsec/nss/crypto.h
The ConcatKDF key data klass.
Defined as: xmlSecNssTransformConcatKdfGetKlass()
Source: include/xmlsec/nss/crypto.h
The ConcatKDF key derivation transform klass.
Defined as: xmlSecNssKeyDataRsaGetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA key klass.
Defined as: xmlSecNssTransformRsaSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-SHA1 signature transform klass.
Defined as: xmlSecNssTransformRsaSha224GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-224 signature transform klass.
Defined as: xmlSecNssTransformRsaSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-256 signature transform klass.
Defined as: xmlSecNssTransformRsaSha384GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-384 signature transform klass.
Defined as: xmlSecNssTransformRsaSha512GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-512 signature transform klass.
Defined as: xmlSecNssTransformRsaPssSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA1 signature transform klass.
Defined as: xmlSecNssTransformRsaPssSha224GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-224 signature transform klass.
Defined as: xmlSecNssTransformRsaPssSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-256 signature transform klass.
Defined as: xmlSecNssTransformRsaPssSha384GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-384 signature transform klass.
Defined as: xmlSecNssTransformRsaPssSha512GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-512 signature transform klass.
Defined as: xmlSecNssTransformRsaPkcs1GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA PKCS1 key transport transform klass.
Defined as: xmlSecNssTransformRsaOaepGetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA OAEP key transport transform klass (XMLEnc 1.0).
Defined as: xmlSecNssTransformRsaOaepEnc11GetKlass()
Source: include/xmlsec/nss/crypto.h
The RSA OAEP key transport transform klass (XMLEnc 1.1).
Defined as: xmlSecNssTransformSha1GetKlass()
Source: include/xmlsec/nss/crypto.h
The SHA1 digest transform klass.
Defined as: xmlSecNssTransformSha224GetKlass()
Source: include/xmlsec/nss/crypto.h
The SHA2-224 digest transform klass.
Defined as: xmlSecNssTransformSha256GetKlass()
Source: include/xmlsec/nss/crypto.h
The SHA2-256 digest transform klass.
Defined as: xmlSecNssTransformSha384GetKlass()
Source: include/xmlsec/nss/crypto.h
The SHA2-384 digest transform klass.
Defined as: xmlSecNssTransformSha512GetKlass()
Source: include/xmlsec/nss/crypto.h
The SHA2-512 digest transform klass.
Defined as: xmlSecNssKeyDataDEREncodedKeyValueGetKlass()
Source: include/xmlsec/nss/crypto.h
The Nss DEREncodedKeyValue data klass.
xmlSecCryptoDLFunctionsPtr xmlSecCryptoGetFunctions_nss(void);Source: include/xmlsec/nss/crypto.h
Gets the pointer to xmlsec-nss functions table.
Returns: the xmlsec-nss functions table or NULL if an error occurs.
int xmlSecNssInit(void);Source: include/xmlsec/nss/crypto.h
Initializes the NSS crypto engine.
XMLSec library specific crypto engine initialization.
Returns: 0 on success or a negative value otherwise.
int xmlSecNssShutdown(void);Source: include/xmlsec/nss/crypto.h
XMLSec library specific crypto engine shutdown.
Returns: 0 on success or a negative value otherwise.
int xmlSecNssKeysMngrInit(xmlSecKeysMngrPtr mngr);Source: include/xmlsec/nss/crypto.h
Adds NSS specific key data stores in keys manager.
Parameters:
-
mngr— the pointer to keys manager.
Returns: 0 on success or a negative value otherwise.
int xmlSecNssGenerateRandom(xmlSecBufferPtr buffer, xmlSecSize size);Source: include/xmlsec/nss/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.
void xmlSecNssErrorsDefaultCallback(const char *file, int line, const char *func, const char *errorObject, const char *errorSubject, int reason, const char *msg);Source: include/xmlsec/nss/crypto.h
The errors reporting callback function. Just a pass through to the default callback.
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.
PK11SlotInfo * xmlSecNssGetInternalKeySlot(void);Source: include/xmlsec/nss/crypto.h
Gets internal NSS key slot.
Returns: internal key slot and initializes it if needed.
xmlSecKeyDataId xmlSecNssKeyDataAesGetKlass(void);Source: include/xmlsec/nss/crypto.h
The AES key data klass.
Returns: AES key data klass.
int xmlSecNssKeyDataAesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformAes128CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 128 CBC encryption transform klass.
Returns: pointer to AES 128 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformAes192CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 192 CBC encryption transform klass.
Returns: pointer to AES 192 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformAes256CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 256 CBC encryption transform klass.
Returns: pointer to AES 256 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformAes128GcmGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 128 GCM encryption transform klass.
Returns: pointer to AES 128 GCM encryption transform.
xmlSecTransformId xmlSecNssTransformAes192GcmGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 192 GCM encryption transform klass.
Returns: pointer to AES 192 GCM encryption transform.
xmlSecTransformId xmlSecNssTransformAes256GcmGetKlass(void);Source: include/xmlsec/nss/crypto.h
AES 256 GCM encryption transform klass.
Returns: pointer to AES 256 GCM encryption transform.
xmlSecTransformId xmlSecNssTransformKWAes128GetKlass(void);Source: include/xmlsec/nss/crypto.h
The AES-128 key wrapper transform klass.
Returns: AES-128 key wrapper transform klass.
xmlSecTransformId xmlSecNssTransformKWAes192GetKlass(void);Source: include/xmlsec/nss/crypto.h
The AES-192 key wrapper transform klass.
Returns: AES-192 key wrapper transform klass.
xmlSecTransformId xmlSecNssTransformKWAes256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The AES-256 key wrapper transform klass.
Returns: AES-256 key wrapper transform klass.
xmlSecKeyDataId xmlSecNssKeyDataCamelliaGetKlass(void);Source: include/xmlsec/nss/crypto.h
The Camellia key data klass.
Returns: Camellia key data klass.
int xmlSecNssKeyDataCamelliaSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformCamellia128CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
Camellia 128 CBC encryption transform klass.
Returns: pointer to Camellia 128 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformCamellia192CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
Camellia 192 CBC encryption transform klass.
Returns: pointer to Camellia 192 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformCamellia256CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
Camellia 256 CBC encryption transform klass.
Returns: pointer to Camellia 256 CBC encryption transform.
xmlSecTransformId xmlSecNssTransformKWCamellia128GetKlass(void);Source: include/xmlsec/nss/crypto.h
The Camellia-128 key wrapper transform klass.
Returns: Camellia-128 key wrapper transform klass.
xmlSecTransformId xmlSecNssTransformKWCamellia192GetKlass(void);Source: include/xmlsec/nss/crypto.h
The Camellia-192 key wrapper transform klass.
Returns: Camellia-192 key wrapper transform klass.
xmlSecTransformId xmlSecNssTransformKWCamellia256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The Camellia-256 key wrapper transform klass.
Returns: Camellia-256 key wrapper transform klass.
xmlSecKeyDataId xmlSecNssKeyDataDesGetKlass(void);Source: include/xmlsec/nss/crypto.h
The DES key data klass.
Returns: DES key data klass.
int xmlSecNssKeyDataDesSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformDes3CbcGetKlass(void);Source: include/xmlsec/nss/crypto.h
Triple DES CBC encryption transform klass.
Returns: pointer to Triple DES encryption transform.
xmlSecTransformId xmlSecNssTransformKWDes3GetKlass(void);Source: include/xmlsec/nss/crypto.h
The Triple DES key wrapper transform klass.
Returns: Triple DES key wrapper transform klass.
xmlSecKeyDataId xmlSecNssKeyDataChaCha20GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ChaCha20 key data klass.
Returns: ChaCha20 key data klass.
int xmlSecNssKeyDataChaCha20Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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.
xmlSecTransformId xmlSecNssTransformChaCha20Poly1305GetKlass(void);Source: include/xmlsec/nss/crypto.h
ChaCha20-Poly1305 AEAD encryption transform klass.
Returns: pointer to ChaCha20-Poly1305 encryption transform.
xmlSecKeyDataId xmlSecNssKeyDataDsaGetKlass(void);Source: include/xmlsec/nss/crypto.h
The DSA key data klass.
Returns: pointer to DSA key data klass.
xmlSecTransformId xmlSecNssTransformDsaSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The DSA-SHA1 signature transform klass.
Returns: DSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecNssTransformDsaSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The DSA-SHA2-256 signature transform klass.
Returns: DSA-SHA2-256 signature transform klass.
xmlSecKeyDataId xmlSecNsskeyDataEcGetKlass(void);Source: include/xmlsec/nss/crypto.h
The EC key data klass.
Returns: pointer to EC key data klass.
xmlSecTransformId xmlSecNssTransformEcdhGetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDH key agreement transform klass.
Returns: the ECDH key agreement transform klass.
xmlSecTransformId xmlSecNssTransformEcdsaSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDSA-SHA1 signature transform klass.
Returns: ECDSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecNssTransformEcdsaSha224GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDSA-SHA2-224 signature transform klass.
Returns: ECDSA-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecNssTransformEcdsaSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDSA-SHA2-256 signature transform klass.
Returns: ECDSA-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecNssTransformEcdsaSha384GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDSA-SHA2-384 signature transform klass.
Returns: ECDSA-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecNssTransformEcdsaSha512GetKlass(void);Source: include/xmlsec/nss/crypto.h
The ECDSA-SHA2-512 signature transform klass.
Returns: ECDSA-SHA2-512 signature transform klass.
xmlSecKeyDataId xmlSecNssKeyDataHmacGetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC key data klass.
Returns: HMAC key data klass.
int xmlSecNssKeyDataHmacSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformHmacRipemd160GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-RIPEMD160 transform klass.
Returns: the HMAC-RIPEMD160 transform klass.
xmlSecTransformId xmlSecNssTransformHmacSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-SHA1 transform klass.
Returns: the HMAC-SHA1 transform klass.
xmlSecTransformId xmlSecNssTransformHmacSha224GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-SHA224 transform klass.
Returns: the HMAC-SHA224 transform klass.
xmlSecTransformId xmlSecNssTransformHmacSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-SHA256 transform klass.
Returns: the HMAC-SHA256 transform klass.
xmlSecTransformId xmlSecNssTransformHmacSha384GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-SHA384 transform klass.
Returns: the HMAC-SHA384 transform klass.
xmlSecTransformId xmlSecNssTransformHmacSha512GetKlass(void);Source: include/xmlsec/nss/crypto.h
The HMAC-SHA512 transform klass.
Returns: the HMAC-SHA512 transform klass.
xmlSecKeyDataId xmlSecNssKeyDataPbkdf2GetKlass(void);Source: include/xmlsec/nss/crypto.h
The PBKDF2 key data klass.
Returns: PBKDF2 key data klass.
int xmlSecNssKeyDataPbkdf2Set(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformPbkdf2GetKlass(void);Source: include/xmlsec/nss/crypto.h
The PBKDF2 key derivation transform klass.
Returns: the PBKDF2 transform klass.
Returns: the PBKDF2 key derivation transform klass.
xmlSecKeyDataId xmlSecNssKeyDataConcatKdfGetKlass(void);Source: include/xmlsec/nss/crypto.h
The ConcatKDF key data klass.
Returns: ConcatKDF key data klass.
int xmlSecNssKeyDataConcatKdfSet(xmlSecKeyDataPtr data, const xmlSecByte *buf, xmlSecSize bufSize);Source: include/xmlsec/nss/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 xmlSecNssTransformConcatKdfGetKlass(void);Source: include/xmlsec/nss/crypto.h
The ConcatKDF key derivation transform klass.
Returns: the ConcatKDF transform klass.
Returns: the ConcatKDF key derivation transform klass.
xmlSecKeyDataId xmlSecNssKeyDataRsaGetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA key data klass.
Returns: pointer to RSA key data klass.
xmlSecTransformId xmlSecNssTransformRsaSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-SHA1 signature transform klass.
Returns: RSA-SHA1 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaSha224GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-224 signature transform klass.
Returns: RSA-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-256 signature transform klass.
Returns: RSA-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaSha384GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-384 signature transform klass.
Returns: RSA-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaSha512GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-SHA2-512 signature transform klass.
Returns: RSA-SHA2-512 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPssSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA1 signature transform klass.
Returns: RSA-PSS-SHA1 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPssSha224GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-224 signature transform klass.
Returns: RSA-PSS-SHA2-224 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPssSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-256 signature transform klass.
Returns: RSA-PSS-SHA2-256 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPssSha384GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-384 signature transform klass.
Returns: RSA-PSS-SHA2-384 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPssSha512GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PSS-SHA2-512 signature transform klass.
Returns: RSA-PSS-SHA2-512 signature transform klass.
xmlSecTransformId xmlSecNssTransformRsaPkcs1GetKlass(void);Source: include/xmlsec/nss/crypto.h
The RSA-PKCS1 key transport transform klass.
Returns: RSA-PKCS1 key transport transform klass.
xmlSecTransformId xmlSecNssTransformRsaOaepGetKlass(void);Source: include/xmlsec/nss/crypto.h
RSA-PKCS1 key transport klass for XMLEnc 1.0.
The RSA-PKCS1 key transport transform klass (XMLEnc 1.0).
Returns: RSA-PKCS1 key transport transform klass.
xmlSecTransformId xmlSecNssTransformRsaOaepEnc11GetKlass(void);Source: include/xmlsec/nss/crypto.h
RSA-PKCS1 key transport klass for XMLEnc 1.1.
The RSA-PKCS1 key transport transform klass (XMLEnc 1.1).
Returns: RSA-PKCS1 key transport transform klass.
xmlSecTransformId xmlSecNssTransformSha1GetKlass(void);Source: include/xmlsec/nss/crypto.h
SHA-1 digest transform klass.
Returns: pointer to SHA-1 digest transform klass.
xmlSecTransformId xmlSecNssTransformSha224GetKlass(void);Source: include/xmlsec/nss/crypto.h
SHA2-224 digest transform klass.
Returns: pointer to SHA2-224 digest transform klass.
xmlSecTransformId xmlSecNssTransformSha256GetKlass(void);Source: include/xmlsec/nss/crypto.h
SHA2-256 digest transform klass.
Returns: pointer to SHA2-256 digest transform klass.
xmlSecTransformId xmlSecNssTransformSha384GetKlass(void);Source: include/xmlsec/nss/crypto.h
SHA2-384 digest transform klass.
Returns: pointer to SHA2-384 digest transform klass.
xmlSecTransformId xmlSecNssTransformSha512GetKlass(void);Source: include/xmlsec/nss/crypto.h
SHA2-512 digest transform klass.
Returns: pointer to SHA2-512 digest transform klass.
xmlSecKeyDataId xmlSecNssKeyDataDEREncodedKeyValueGetKlass(void);Source: include/xmlsec/nss/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="Id"type="ID"use="optional"/>
</extension>
</simpleContent>
</complexType>Returns: the dsig11:DEREncodedKeyValue/element processing key data klass.