CryptoSpi::TCommonCharacteristics Class Reference

#include <cryptospi/plugincharacteristics.h>

Link against: cryptospi.lib

class CryptoSpi::TCommonCharacteristics

Detailed Description

Common characteristics for all plug-in interface types.

This MUST be the first element of each characteristics "sub-class" to allow sub-classes to be cast directly to a TCommonCharacteristics. This is used instead of inheritance because it enables arrays of characteristics objects to be defined as static constant data.

Member Attribute Documentation

iAlgorithmName

const TRomLitC16 *iAlgorithmName

the Algorithm Name

iAlgorithmUID

TInt32 iAlgorithmUID

Algorithm UID, e.g MD2, 3DES

iCreatorName

const TRomLitC16 *iCreatorName

Creator name

iImplementationUID

TInt32 iImplementationUID

Implementaion UID

iInterfaceUID

TInt32 iInterfaceUID

Interface UID, e.g hash, symmetric cipher

iIsFIPSApproved

TBool iIsFIPSApproved

whether the implementation is FIPS compliant

iIsHardwareSupported

TBool iIsHardwareSupported

whether the implementation is a hardware one

iLatency

TInt iLatency

The Latency

iMaxConcurrencySupported

TUint iMaxConcurrencySupported

the Maximum concurrent operation supported

iThroughput

TInt iThroughput

the Throughput

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const

Externalises common characteristics to a write stream.

Parameters
aStreamStream to which the object should be externalised.