Digital Authentication Framework
6.0.1.37
|
Main C++ interface to authentication device. More...
#include <string>
#include <cstring>
#include <vector>
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | DADriver |
Top-level functions provided by the device driver. More... | |
class | DAError |
Interface for error reporting. More... | |
class | DADevice |
Interface to device object. More... | |
class | DASession |
Interface to "session" object. More... | |
class | DAKey |
Interface to Key objects. More... | |
class | DAMessage |
Encapsulates a message and various (optional) crypto parameters. More... | |
class | DAMetaData |
General metadata interface. More... | |
class | DAUtils |
Utility functions. More... | |
Typedefs | |
typedef std::vector< uint8_t > | DAData |
A data block represented as a sequence of bytes. More... | |
typedef std::vector< uint8_t > | DAMechanism |
Identifier of a cryptographic mechanism. More... | |
Enumerations | |
enum | DADigestType { DA_DIGEST_NONE = 0, DA_DIGEST_SHA1 = 1, DA_DIGEST_SHA224 = 2, DA_DIGEST_SHA256 = 3, DA_DIGEST_SHA384 = 4, DA_DIGEST_SHA512 = 5, DA_DIGEST_SSL3_MD5_SHA1 = 6 } |
Identification of hash algorithm used for signature. More... | |
enum | DAAttrib { DA_NAME = 0, DA_SERIAL = 2, DA_HARDWARE = 1000, DA_PROTECTED_PATH = 1002, DA_AUTHENTIC_PATH = 1003, DA_PASSWORD_AUTH = 1004, DA_SMIME_SIGN = 1100, DA_SMIME_DECRYPT = 1101, DA_USER_AUTHENTICATE = 1102, DA_TLS_CLIENT_AUTH = 1103, DA_READ_WRITE = 1104, DA_STORAGE = 1105, DA_SYMM_CRYPT = 1106, DA_SYMM_SIGN = 1107, DA_CERTIFICATE = 2100, DA_SIGNATURE_SIZE = 3000, DA_MAX_DECRYPT_SIZE = 3001 } |
Attribute selector. More... | |
Variables | |
const char * | DAF_SDK_VERSION_string |
Identifies the version of the DAF SDK. | |
Main C++ interface to authentication device.
typedef std::vector<uint8_t> DAData |
A data block represented as a sequence of bytes.
Used in a number of places to hold cryptographic plaintexts and ciphertexts, and as various kinds of authentication data. DAUtils provides a few convenience functions for creating these.
typedef std::vector<uint8_t> DAMechanism |
Identifier of a cryptographic mechanism.
Mechanisms are specified using the DER encoding of their OID; this takes the form of a sequence of bytes. Class CommonMech provides convenience functions for constructing commonly-used mechanism identifiers.
enum DAAttrib |
Attribute selector.
A DADevice object, and each DAKey object, has a number of attributes to describe it. These are accessed via the DAMetaData interface provided by the object. Attributes can be of string, flag (boolean), data (byte block) or size (integer) types.
enum DADigestType |
Identification of hash algorithm used for signature.
For signatures using public-key algorithms, the caller may deliver the hash of a message instead of the message itself. The hash algorithm used is identified using a DADigestType enum.