Top |
xmlSecCryptoDLFunctionsPtr
xmlSecCryptoGetFunctions_gnutls (void
);
Gets the pointer to xmlsec-gnutls functions table.
int
xmlSecGnuTLSInit (void
);
XMLSec library specific crypto engine initialization.
int
xmlSecGnuTLSShutdown (void
);
XMLSec library specific crypto engine shutdown.
int
xmlSecGnuTLSKeysMngrInit (xmlSecKeysMngrPtr mngr
);
Adds GnuTLS specific key data stores in keys manager.
int xmlSecGnuTLSGenerateRandom (xmlSecBufferPtr buffer
,xmlSecSize size
);
Generates size
random bytes and puts result in buffer
.
xmlSecKeyPtr
xmlSecGCryptAsymetricKeyCreatePub (gnutls_pubkey_t pubkey
);
Creates XMLSec key from GnuTLS public key.
xmlSecKeyPtr
xmlSecGCryptAsymetricKeyCreatePriv (gnutls_privkey_t privkey
);
Creates XMLSec key from GnuTLS private key.
gnutls_pubkey_t
xmlSecGCryptAsymetricKeyGetPub (xmlSecKeyPtr key
);
Gets GnuTLS public key from an XMLSec key
.
gnutls_privkey_t
xmlSecGCryptAsymetricKeyGetPriv (xmlSecKeyPtr key
);
Gets GnuTLS private key from an XMLSec key
.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataAesGetKlass (void
);
The AES key data klass.
int xmlSecGnuTLSKeyDataAesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of AES key data.
xmlSecTransformId
xmlSecGnuTLSTransformAes128CbcGetKlass
(void
);
AES 128 CBC encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformAes192CbcGetKlass
(void
);
AES 192 CBC encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformAes256CbcGetKlass
(void
);
AES 256 CBC encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformAes128GcmGetKlass
(void
);
AES 128 GCM encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformAes192GcmGetKlass
(void
);
AES 192 GCM encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformAes256GcmGetKlass
(void
);
AES 256 GCM encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformKWAes128GetKlass (void
);
The AES-128 kew wrapper transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformKWAes192GetKlass (void
);
The AES-192 kew wrapper transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformKWAes256GetKlass (void
);
The AES-256 kew wrapper transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataDesGetKlass (void
);
The DES key data klass.
int xmlSecGnuTLSKeyDataDesSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of DES key data.
xmlSecTransformId
xmlSecGnuTLSTransformDes3CbcGetKlass (void
);
Triple DES CBC encryption transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformKWDes3GetKlass (void
);
The Triple DES key wrapper transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataDsaGetKlass (void
);
The DSA key data klass.
int xmlSecGnuTLSKeyDataDsaAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of DSA key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataDsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS DSA public key from DSA key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataDsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS DSA private key from DSA key data.
xmlSecTransformId
xmlSecGnuTLSTransformDsaSha1GetKlass (void
);
The DSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformDsaSha256GetKlass
(void
);
The DSA-SHA2-256 signature transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataEcGetKlass (void
);
The GnuTLS EC key data klass.
int xmlSecGnuTLSKeyDataEcAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of EC key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataEcGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS EC public key from EC key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataEcGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS EC private key from EC key data.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha1GetKlass
(void
);
The ECDSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha256GetKlass
(void
);
The ECDSA-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha384GetKlass
(void
);
The ECDSA-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha512GetKlass
(void
);
The ECDSA-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_256GetKlass
(void
);
The ECDSA-SHA3-256 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_384GetKlass
(void
);
The ECDSA-SHA3-384 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformEcdsaSha3_512GetKlass
(void
);
The ECDSA-SHA3-512 signature transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2001GetKlass (void
);
The GnuTLS GOST 2001 key data klass.
int xmlSecGnuTLSKeyDataGost2001AdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of GOST 2001 key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2001GetPublicKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2001 public key from GOST 2001 key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2001GetPrivateKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2001 private key from GOST 2001 key data.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_94GetKlass
(void
);
GOSTR3411_94 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformGost2001GostR3411_94GetKlass
(void
);
The GOST2001 GOSTR3411_94 signature transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2012_256GetKlass
(void
);
The GnuTLS GOST 2012 (256 bits) key data klass.
int xmlSecGnuTLSKeyDataGost2012_256AdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of GOST 2012 (256 bits) key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2012_256GetPublicKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2012 (256 bits) public key from GOST 2012 (256 bits) key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2012_256GetPrivateKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2012 (256 bits) private key from GOST 2012 (256 bits) key data.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataGost2012_512GetKlass
(void
);
The GnuTLS GOST 2012 (512 bits) key data klass.
int xmlSecGnuTLSKeyDataGost2012_512AdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of GOST 2012 (512 bits) key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataGost2012_512GetPublicKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2012 (512 bits) public key from GOST 2012 (512 bits) key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataGost2012_512GetPrivateKey
(xmlSecKeyDataPtr data
);
Gets the GnuTLS GOST 2012 (512 bits) private key from GOST 2012 (512 bits) key data.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_2012_256GetKlass
(void
);
GOST R 34.11-2012 256 bit digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3411_2012_512GetKlass
(void
);
GOST R 34.11-2012 512 bit digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256GetKlass
(void
);
The GOST R 34.10-2012 - GOST R 34.11-2012 256 bit signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512GetKlass
(void
);
The GOST R 34.10-2012 - GOST R 34.11-2012 512 bit signature transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataHmacGetKlass (void
);
The HMAC key data klass.
int xmlSecGnuTLSKeyDataHmacSet (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of HMAC key data.
xmlSecTransformId
xmlSecGnuTLSTransformHmacSha1GetKlass (void
);
The HMAC-SHA1 transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformHmacSha256GetKlass
(void
);
The HMAC-SHA256 transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformHmacSha384GetKlass
(void
);
The HMAC-SHA384 transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformHmacSha512GetKlass
(void
);
The HMAC-SHA512 transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataPbkdf2GetKlass (void
);
The PBKDF2 key data klass.
int xmlSecGnuTLSKeyDataPbkdf2Set (xmlSecKeyDataPtr data
,const xmlSecByte *buf
,xmlSecSize bufSize
);
Sets the value of PBKDF2 key data.
xmlSecTransformId
xmlSecGnuTLSTransformPbkdf2GetKlass (void
);
The PBKDF2 key derivation transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataRsaGetKlass (void
);
The RSA key data klass.
int xmlSecGnuTLSKeyDataRsaAdoptKey (xmlSecKeyDataPtr data
,gnutls_pubkey_t pubkey
,gnutls_privkey_t privkey
);
Sets the value of RSA key data. The pubkey
and privkey
will be owned by the data
on success.
gnutls_pubkey_t
xmlSecGnuTLSKeyDataRsaGetPublicKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS RSA public key from RSA key data.
gnutls_privkey_t
xmlSecGnuTLSKeyDataRsaGetPrivateKey (xmlSecKeyDataPtr data
);
Gets the GnuTLS RSA private key from RSA key data.
xmlSecTransformId
xmlSecGnuTLSTransformRsaSha1GetKlass (void
);
The RSA-SHA1 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaSha256GetKlass
(void
);
The RSA-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaSha384GetKlass
(void
);
The RSA-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaSha512GetKlass
(void
);
The RSA-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha256GetKlass
(void
);
The RSA-PSS-SHA2-256 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha384GetKlass
(void
);
The RSA-PSS-SHA2-384 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaPssSha512GetKlass
(void
);
The RSA-PSS-SHA2-512 signature transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformRsaPkcs1GetKlass (void
);
The RSA-PKCS1 key transport transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha1GetKlass (void
);
SHA-1 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha256GetKlass (void
);
SHA2-256 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha384GetKlass (void
);
SHA2-384 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha512GetKlass (void
);
SHA2-512 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha3_256GetKlass (void
);
SHA3-256 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha3_384GetKlass (void
);
SHA3-384 digest transform klass.
xmlSecTransformId
xmlSecGnuTLSTransformSha3_512GetKlass (void
);
SHA3-512 digest transform klass.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataDEREncodedKeyValueGetKlass
(void
);
https://www.w3.org/TR/xmldsig-core1/sec-DEREncodedKeyValue
<element></element><complexType> <simpleContent> <extension> <attribute></attribute> </extension> </simpleContent> </complexType>
#define xmlSecGnuTLSTransformAes128CbcId
The AES128 CBC cipher transform klass.
#define xmlSecGnuTLSTransformAes192CbcId
The AES192 CBC cipher transform klass.
#define xmlSecGnuTLSTransformAes256CbcId
The AES256 CBC cipher transform klass.
#define xmlSecGnuTLSTransformAes128GcmId
The AES128 GCM cipher transform klass.
#define xmlSecGnuTLSTransformAes192GcmId
The AES192 GCM cipher transform klass.
#define xmlSecGnuTLSTransformAes256GcmId
The AES256 GCM cipher transform klass.
#define xmlSecGnuTLSTransformKWAes128Id
The AES 128 key wrap transform klass.
#define xmlSecGnuTLSTransformKWAes192Id
The AES 192 key wrap transform klass.
#define xmlSecGnuTLSTransformKWAes256Id
The AES 256 key wrap transform klass.
#define xmlSecGnuTLSTransformDes3CbcId
The DES3 CBC cipher transform klass.
#define xmlSecGnuTLSTransformDsaSha1Id
The DSA SHA1 signature transform klass.
#define xmlSecGnuTLSTransformDsaSha256Id
The DSA SHA2-256 signature transform klass.
#define xmlSecGnuTLSKeyDataEcId xmlSecGnuTLSKeyDataEcGetKlass()
The EC key klass.
#define xmlSecGnuTLSTransformEcdsaSha1Id
The ECDSA-SHA1 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha256Id
The ECDSA-SHA2-256 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha384Id
The ECDSA-SHA2-384 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha512Id
The ECDSA-SHA2-512 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha3_256Id
The ECDSA-SHA3-256 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha3_384Id
The ECDSA-SHA3-384 signature transform klass.
#define xmlSecGnuTLSTransformEcdsaSha3_512Id
The ECDSA-SHA3-512 signature transform klass.
#define xmlSecGnuTLSKeyDataGost2001Id xmlSecGnuTLSKeyDataGost2001GetKlass ()
The GOST 2001 key klass.
#define xmlSecGnuTLSTransformGostR3411_94Id
The GOSTR3411_94 digest transform klass.
#define xmlSecGnuTLSTransformGost2001GostR3411_94Id
The GOST2001 GOSTR3411_94 signature transform klass.
#define xmlSecGnuTLSKeyDataGost2012_256Id xmlSecGnuTLSKeyDataGost2012_256GetKlass()
The GOST R 34.10-2012 256 bit key klass.
#define xmlSecGnuTLSKeyDataGost2012_512Id xmlSecGnuTLSKeyDataGost2012_512GetKlass()
The GOST R 34.10-2012 512 bit key klass.
#define xmlSecGnuTLSTransformGostR3411_2012_256Id
The GOST R 34.11-2012 256 bit digest transform klass.
#define xmlSecGnuTLSTransformGostR3411_2012_512Id
The GOST R 34.11-2012 512 bit digest transform klass.
#define xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_256Id
The GOST R 34.10-2012 - GOST R 3411-2012 256 bit signature transform klass.
#define xmlSecGnuTLSTransformGostR3410_2012GostR3411_2012_512Id
The GOST R 34.10-2012 - GOST R 3411-2012 512 bit signature transform klass.
#define xmlSecGnuTLSTransformHmacSha1Id
The HMAC with SHA1 signature transform klass.
#define xmlSecGnuTLSTransformHmacSha256Id
The HMAC with SHA2-256 signature transform klass.
#define xmlSecGnuTLSTransformHmacSha384Id
The HMAC with SHA2-384 signature transform klass.
#define xmlSecGnuTLSTransformHmacSha512Id
The HMAC with SHA2-512 signature transform klass.
#define xmlSecGnuTLSTransformPbkdf2Id
The PBKDF2 key derivation transform klass.
#define xmlSecGnuTLSTransformRsaSha1Id
The RSA-SHA1 signature transform klass.
#define xmlSecGnuTLSTransformRsaSha256Id
The RSA-SHA2-256 signature transform klass.
#define xmlSecGnuTLSTransformRsaSha384Id
The RSA-SHA2-384 signature transform klass.
#define xmlSecGnuTLSTransformRsaSha512Id
The RSA-SHA2-512 signature transform klass.
#define xmlSecGnuTLSTransformRsaPssSha256Id
The RSA-PSS-SHA2-256 signature transform klass.
#define xmlSecGnuTLSTransformRsaPssSha384Id
The RSA-PSS-SHA2-384 signature transform klass.
#define xmlSecGnuTLSTransformRsaPssSha512Id
The RSA-PSS-SHA2-512 signature transform klass.
#define xmlSecGnuTLSTransformRsaPkcs1Id
The RSA PKCS1 key transport transform klass.
#define xmlSecGnuTLSTransformSha1Id
The HMAC with SHA1 signature transform klass.
#define xmlSecGnuTLSTransformSha256Id
The HMAC with SHA2-256 signature transform klass.
#define xmlSecGnuTLSTransformSha384Id
The HMAC with SHA2-384 signature transform klass.
#define xmlSecGnuTLSTransformSha512Id
The HMAC with SHA2-512 signature transform klass.
#define xmlSecGnuTLSTransformSha3_256Id
The HMAC with SHA3-256 signature transform klass.
#define xmlSecGnuTLSTransformSha3_384Id
The HMAC with SHA3-384 signature transform klass.
#define xmlSecGnuTLSTransformSha3_512Id
The HMAC with SHA3-512 signature transform klass.