Digital Authentication Framework  6.0.1.37
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
com.good.daf.DAAttrib Enum Reference

DAF attribute enumeration. More...

Public Member Functions

int getValue ()
 

Static Public Member Functions

static DAAttrib lookupByValue (int value)
 Maps the given ordinal to its DAAttrib. More...
 

Public Attributes

 NAME =(0)
 User-visible name of device or key (string)
 
 SERIAL =(2)
 Unique serial number of device or key (string)
 
 HARDWARE =(1000)
 True if implemented in hardware.
 
 PROTECTED_PATH =(1002)
 True if path to device has eavesdropping protection.
 
 AUTHENTIC_PATH =(1003)
 True if path to device is authenticated.
 
 PASSWORD_AUTH =(1004)
 True if authentication token is regular password.
 
 SMIME_SIGN =(1100)
 True if key can be used for S/MIME signing.
 
 SMIME_DECRYPT =(1101)
 True if key can be used for S/MIME decryption.
 
 USER_AUTHENTICATE =(1102)
 True if key can be used for user authentication.
 
 TLS_CLIENT_AUTH =(1103)
 True if key can be used for SSL/TLS client auth.
 
 READ_WRITE =(1104)
 True if SetData() and/or GenerateMaterial() work.
 
 STORAGE =(1105)
 True if GetData() and SetData() work.
 
 SYMM_CRYPT =(1106)
 True if both encrypt() and decrypt() work.
 
 SYMM_SIGN =(1107)
 True if both sign() and verify() work.
 
 CERTIFICATE =(2100)
 (bytes) X.509 certificate for key
 
 SIGNATURE_SIZE =(3000)
 (size) Size of signature in bytes
 
 MAX_DECRYPT_SIZE =(3001)
 (size) Max size of a decrypted plaintext (in bytes)
 
 HASH_STRENGTH_BITS =(3002)
 (size) Minimum cryptographic strength (in bits) for DSA/ECDSA hash function. More...
 

Detailed Description

DAF attribute enumeration.

Ordinals here are used to identify specific values in DAMetaData objects.

The ordinals in this enumeration must match their native counterparts.

Member Function Documentation

int com.good.daf.DAAttrib.getValue ( )
Returns
the ordinal of this member
static DAAttrib com.good.daf.DAAttrib.lookupByValue ( int  value)
static

Maps the given ordinal to its DAAttrib.

Parameters
value
Returns
the DAAttrib corresponding to the given value, or null if there is no defined DAAttrib for that value.

Member Data Documentation

com.good.daf.DAAttrib.HASH_STRENGTH_BITS =(3002)

(size) Minimum cryptographic strength (in bits) for DSA/ECDSA hash function.


The documentation for this enum was generated from the following file: