Module: PKIFXSECCryptoSymmetricKey
Definition in file PKIFXSECCryptoSymmetricKey.cpp.
#include "PKIFXSECCrypto.h"
#include "PKIFXSECCryptoSymmetricKey.h"
#include "PKIFXSECCryptoKeyRaw.h"
#include "PKIFAlgorithm.h"
#include <xsec/utils/XSECPlatformUtils.hpp>
Go to the source code of this file.
Functions | |
XSECCryptoSymmetricKey::SymmetricKeyType | getXSECKeyType (PKIFCRYPTO::SYMKEY_ALG alg) |
PKIFCRYPTO::SYMKEY_ALG | getPKIFKeyType (XSECCryptoSymmetricKey::SymmetricKeyType alg) |
PKIFCRYPTO::SYMKEY_MODE | getPKIFMode (XSECCryptoSymmetricKey::SymmetricKeyMode mode) |
PKIFCRYPTO::SYMKEY_ALG getPKIFKeyType | ( | XSECCryptoSymmetricKey::SymmetricKeyType | alg | ) |
Interface: Module
map a pkif algorithm constant to an xml security constant
Definition at line 59 of file PKIFXSECCryptoSymmetricKey.cpp.
References PKIFCRYPTO::AES128, PKIFCRYPTO::AES192, PKIFCRYPTO::AES256, and PKIFCRYPTO::TDES.
Referenced by PKIFXSECCryptoSymmetricKey::setKey().
PKIFCRYPTO::SYMKEY_MODE getPKIFMode | ( | XSECCryptoSymmetricKey::SymmetricKeyMode | mode | ) |
Interface: Module
map a pkif mode constant to an xml security constant
Definition at line 84 of file PKIFXSECCryptoSymmetricKey.cpp.
References PKIFCRYPTO::CBC, and PKIFCRYPTO::ECB.
Referenced by PKIFXSECCryptoSymmetricKey::decryptInit(), and PKIFXSECCryptoSymmetricKey::encryptInit().
XSECCryptoSymmetricKey::SymmetricKeyType getXSECKeyType | ( | PKIFCRYPTO::SYMKEY_ALG | alg | ) |
Interface: Module
map a pkif algorithm constant to an xml security constant
Definition at line 33 of file PKIFXSECCryptoSymmetricKey.cpp.
References PKIFCRYPTO::AES128, PKIFCRYPTO::AES192, PKIFCRYPTO::AES256, and PKIFCRYPTO::TDES.
Referenced by PKIFXSECCryptoSymmetricKey::getSymmetricKeyType().