PKIFXSECCryptoSymmetricKey.cpp File Reference


Detailed Description

Subsystem: XML Security (PKIFXML)

Module: PKIFXSECCryptoSymmetricKey

Id
PKIFXSECCryptoSymmetricKey.cpp 11849 2010-10-12 13:06:14Z agalustyan@CYGNACOM.COM

Definition in file PKIFXSECCryptoSymmetricKey.cpp.

#include "PKIFXSECCrypto.h"
#include "PKIFXSECCryptoSymmetricKey.h"
#include "PKIFXSECCryptoKeyRaw.h"
#include "PKIFAlgorithm.h"
#include <xsec/utils/XSECPlatformUtils.hpp>

Include dependency graph for PKIFXSECCryptoSymmetricKey.cpp:

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)


Function Documentation

PKIFCRYPTO::SYMKEY_ALG getPKIFKeyType ( XSECCryptoSymmetricKey::SymmetricKeyType  alg  ) 

Interface: Module

map a pkif algorithm constant to an xml security constant

Returns:
SYMKEY_ALG

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

Returns:
SYMKEY_ALG

Definition at line 33 of file PKIFXSECCryptoSymmetricKey.cpp.

References PKIFCRYPTO::AES128, PKIFCRYPTO::AES192, PKIFCRYPTO::AES256, and PKIFCRYPTO::TDES.

Referenced by PKIFXSECCryptoSymmetricKey::getSymmetricKeyType().


Generated on Mon Nov 15 11:18:59 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6