LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
logicalaccess::openssl Namespace Reference

Classes

class  AESCipher
 AES cipher class. More...
 
class  AESInitializationVector
 An AES initialization vector. More...
 
class  AESSymmetricKey
 An AES symmetric key. More...
 
class  CMACCrypto
 
class  DESCipher
 A DES cipher. More...
 
class  DESInitializationVector
 An DES initialization vector. More...
 
class  DESSymmetricKey
 An DES symmetric key. More...
 
class  InitializationVector
 An initialisation vector. More...
 
class  OpenSSLException
 A OpenSSL exception class. More...
 
class  OpenSSLInitializer
 
class  OpenSSLSymmetricCipher
 A OpenSSL symmetric cipher base class. More...
 
class  OpenSSLSymmetricCipherContext
 An OpenSSL context class. More...
 
class  SymmetricCipher
 A symmetric cipher. More...
 
class  SymmetricKey
 An immutable symmetric key. More...
 

Typedefs

typedef int(* PEMPassphraseCallback) (char *, int, int, void *)
 Default PEM passphrase callback type.
 

Functions

ByteVector SHA256Hash (const ByteVector &buffer)
 Get a SHA-256 hash.
 
ByteVector SHA256Hash (const std::string &str)
 Get a SHA-256 hash.
 
ByteVector SHA1Hash (const ByteVector &in)
 
bool operator== (const SymmetricKey &lhs, const SymmetricKey &rhs)
 Comparaison operator.
 
bool operator!= (const SymmetricKey &lhs, const SymmetricKey &rhs)
 Comparaison operator.
 
bool operator< (const SymmetricKey &lhs, const SymmetricKey &rhs)
 Comparaison operator.
 

Typedef Documentation

◆ PEMPassphraseCallback

typedef int(* logicalaccess::openssl::PEMPassphraseCallback) (char *, int, int, void *)

Default PEM passphrase callback type.

Function Documentation

◆ operator!=()

bool logicalaccess::openssl::operator!= ( const SymmetricKey lhs,
const SymmetricKey rhs 
)
inline

Comparaison operator.

Parameters
lhsThe left argument.
rhsThe right argument.
Returns
true if the keys are different, false otherwise.

◆ operator<()

bool logicalaccess::openssl::operator< ( const SymmetricKey lhs,
const SymmetricKey rhs 
)
inline

Comparaison operator.

Parameters
lhsThe left argument.
rhsThe right argument.
Returns
true if lhs is less than rhs.

◆ operator==()

bool logicalaccess::openssl::operator== ( const SymmetricKey lhs,
const SymmetricKey rhs 
)
inline

Comparaison operator.

Parameters
lhsThe left argument.
rhsThe right argument.
Returns
true if the keys are equal, false otherwise.

◆ SHA1Hash()

LLA_CRYPTO_API ByteVector logicalaccess::openssl::SHA1Hash ( const ByteVector in)

Compute the sha1 hash of in.

◆ SHA256Hash() [1/2]

LLA_CRYPTO_API ByteVector logicalaccess::openssl::SHA256Hash ( const ByteVector buffer)

Get a SHA-256 hash.

Parameters
bufferThe buffer to get the hash from.
Returns
The hash.

◆ SHA256Hash() [2/2]

LLA_CRYPTO_API ByteVector logicalaccess::openssl::SHA256Hash ( const std::string &  str)

Get a SHA-256 hash.

Parameters
strThe string to get the hash from.
Returns
The hash.