Class Common


  • public abstract class Common
    extends java.lang.Object
    This class holds all of the standard identifiers for the handle library.
    • Field Detail

      • COMPATIBILITY_MAJOR_VERSION

        public static final byte COMPATIBILITY_MAJOR_VERSION
        See Also:
        Constant Field Values
      • COMPATIBILITY_MINOR_VERSION

        public static final byte COMPATIBILITY_MINOR_VERSION
        See Also:
        Constant Field Values
      • EMPTY_BYTE_ARRAY

        public static final byte[] EMPTY_BYTE_ARRAY
      • ST_RESOLUTION_AND_ADMIN

        public static final byte ST_RESOLUTION_AND_ADMIN
        See Also:
        Constant Field Values
      • BLANK_HANDLE

        public static final byte[] BLANK_HANDLE
      • GLOBAL_NA_PREFIX

        public static final byte[] GLOBAL_NA_PREFIX
      • GLOBAL_NA

        public static final byte[] GLOBAL_NA
      • NA_HANDLE_PREFIX_NOSLASH

        public static final byte[] NA_HANDLE_PREFIX_NOSLASH
      • NA_HANDLE_PREFIX

        public static final byte[] NA_HANDLE_PREFIX
      • TRUST_ROOT_HANDLE

        public static final byte[] TRUST_ROOT_HANDLE
      • ROOT_HANDLE

        public static final byte[] ROOT_HANDLE
      • SPECIAL_DERIVED_MARKER

        public static final byte[] SPECIAL_DERIVED_MARKER
      • SITE_INFO_TYPE

        public static final byte[] SITE_INFO_TYPE
      • SITE_INFO_6_TYPE

        public static final byte[] SITE_INFO_6_TYPE
      • LEGACY_DERIVED_PREFIX_SITE_TYPE

        public static final byte[] LEGACY_DERIVED_PREFIX_SITE_TYPE
      • DERIVED_PREFIX_SITE_TYPE

        public static final byte[] DERIVED_PREFIX_SITE_TYPE
      • SERVICE_HANDLE_TYPE

        public static final byte[] SERVICE_HANDLE_TYPE
      • DERIVED_PREFIX_SERVICE_HANDLE_TYPE

        public static final byte[] DERIVED_PREFIX_SERVICE_HANDLE_TYPE
      • NAMESPACE_INFO_TYPE

        public static final byte[] NAMESPACE_INFO_TYPE
      • MD5_SECRET_KEY_TYPE

        @Deprecated
        public static final byte[] MD5_SECRET_KEY_TYPE
        Deprecated.
      • SECRET_KEY_TYPE

        public static final byte[] SECRET_KEY_TYPE
      • PUBLIC_KEY_TYPE

        public static final byte[] PUBLIC_KEY_TYPE
      • ADMIN_TYPE

        public static final byte[] ADMIN_TYPE
      • ADMIN_GROUP_TYPE

        public static final byte[] ADMIN_GROUP_TYPE
      • HS_SIGNATURE_TYPE

        public static final byte[] HS_SIGNATURE_TYPE
      • HS_CERT_TYPE

        public static final byte[] HS_CERT_TYPE
      • HASH_ALG_MD5

        public static final byte[] HASH_ALG_MD5
      • HASH_ALG_SHA1

        public static final byte[] HASH_ALG_SHA1
      • HASH_ALG_SHA1_ALTERNATE

        public static final byte[] HASH_ALG_SHA1_ALTERNATE
      • HASH_ALG_SHA256

        public static final byte[] HASH_ALG_SHA256
      • HASH_ALG_SHA256_ALTERNATE

        public static final byte[] HASH_ALG_SHA256_ALTERNATE
      • HASH_ALG_HMAC_SHA1

        public static final byte[] HASH_ALG_HMAC_SHA1
      • HASH_ALG_HMAC_SHA256

        public static final byte[] HASH_ALG_HMAC_SHA256
      • HASH_ALG_PBKDF2_HMAC_SHA1

        public static final byte[] HASH_ALG_PBKDF2_HMAC_SHA1
      • HASH_ALG_PBKDF2_HMAC_SHA1_ALTERNATE

        public static final byte[] HASH_ALG_PBKDF2_HMAC_SHA1_ALTERNATE
      • SITE_INFO_TYPES

        public static final byte[][] SITE_INFO_TYPES
      • DERIVED_PREFIX_SITE_INFO_TYPES

        public static final byte[][] DERIVED_PREFIX_SITE_INFO_TYPES
      • SITE_INFO_INCL_PREFIX_TYPES

        public static final byte[][] SITE_INFO_INCL_PREFIX_TYPES
      • SITE_INFO_AND_SERVICE_HANDLE_TYPES

        public static final byte[][] SITE_INFO_AND_SERVICE_HANDLE_TYPES
      • SITE_INFO_AND_SERVICE_HANDLE_INCL_PREFIX_TYPES

        public static final byte[][] SITE_INFO_AND_SERVICE_HANDLE_INCL_PREFIX_TYPES
      • SITE_INFO_AND_SERVICE_HANDLE_AND_NAMESPACE_TYPES

        public static final byte[][] SITE_INFO_AND_SERVICE_HANDLE_AND_NAMESPACE_TYPES
      • DERIVED_PREFIX_SITE_AND_SERVICE_HANDLE_TYPES

        public static final byte[][] DERIVED_PREFIX_SITE_AND_SERVICE_HANDLE_TYPES
      • HS_SIGNATURE_TYPE_LIST

        public static byte[][] HS_SIGNATURE_TYPE_LIST
      • SERVICE_HANDLE_TYPES

        public static final byte[][] SERVICE_HANDLE_TYPES
      • LOCATION_TYPES

        public static final byte[][] LOCATION_TYPES
      • MD5_SECRET_KEY_TYPES

        @Deprecated
        public static final byte[][] MD5_SECRET_KEY_TYPES
        Deprecated.
      • SECRET_KEY_TYPES

        public static final byte[][] SECRET_KEY_TYPES
      • PUBLIC_KEY_TYPES

        public static final byte[][] PUBLIC_KEY_TYPES
      • ADMIN_TYPES

        public static final byte[][] ADMIN_TYPES
      • ADMIN_GROUP_TYPES

        public static final byte[][] ADMIN_GROUP_TYPES
      • LOCATION_AND_ADMIN_TYPES

        public static final byte[][] LOCATION_AND_ADMIN_TYPES
      • ADMIN_INDEXES

        public static final int[] ADMIN_INDEXES
      • STD_TYPE_URL

        public static final byte[] STD_TYPE_URL
      • STD_TYPE_EMAIL

        public static final byte[] STD_TYPE_EMAIL
      • STD_TYPE_HSALIAS

        public static final byte[] STD_TYPE_HSALIAS
      • STD_TYPE_HSSITE

        public static final byte[] STD_TYPE_HSSITE
      • STD_TYPE_HSSITE6

        public static final byte[] STD_TYPE_HSSITE6
      • STD_TYPE_HSADMIN

        public static final byte[] STD_TYPE_HSADMIN
      • STD_TYPE_HSSERV

        public static final byte[] STD_TYPE_HSSERV
      • STD_TYPE_HSSECKEY

        public static final byte[] STD_TYPE_HSSECKEY
      • STD_TYPE_HSPUBKEY

        public static final byte[] STD_TYPE_HSPUBKEY
      • STD_TYPE_HSVALLIST

        public static final byte[] STD_TYPE_HSVALLIST
      • STD_TYPES

        public static final byte[][] STD_TYPES
      • HASH_CODE_MD5_OLD_FORMAT

        public static final byte HASH_CODE_MD5_OLD_FORMAT
        See Also:
        Constant Field Values
      • HASH_CODE_PBKDF2_HMAC_SHA1

        public static final byte HASH_CODE_PBKDF2_HMAC_SHA1
        See Also:
        Constant Field Values
      • CREDENTIAL_TYPE_MAC

        public static final byte[] CREDENTIAL_TYPE_MAC
      • CREDENTIAL_TYPE_SIGNED

        public static final byte[] CREDENTIAL_TYPE_SIGNED
      • CREDENTIAL_TYPE_OLDSIGNED

        public static final byte[] CREDENTIAL_TYPE_OLDSIGNED
      • ENCRYPT_DES_ECB_PKCS5

        @Deprecated
        public static final int ENCRYPT_DES_ECB_PKCS5
        Deprecated.
        See Also:
        Constant Field Values
      • ENCRYPT_PBKDF2_DESEDE_CBC_PKCS5

        public static final int ENCRYPT_PBKDF2_DESEDE_CBC_PKCS5
        See Also:
        Constant Field Values
      • ENCRYPT_PBKDF2_AES_CBC_PKCS5

        public static final int ENCRYPT_PBKDF2_AES_CBC_PKCS5
        See Also:
        Constant Field Values
      • KEY_ENCODING_DSA_PRIVATE

        public static final byte[] KEY_ENCODING_DSA_PRIVATE
      • KEY_ENCODING_DSA_PUBLIC

        public static final byte[] KEY_ENCODING_DSA_PUBLIC
      • KEY_ENCODING_DH_PRIVATE

        public static final byte[] KEY_ENCODING_DH_PRIVATE
      • KEY_ENCODING_DH_PUBLIC

        public static final byte[] KEY_ENCODING_DH_PUBLIC
      • KEY_ENCODING_RSA_PRIVATE

        public static final byte[] KEY_ENCODING_RSA_PRIVATE
      • KEY_ENCODING_RSACRT_PRIVATE

        public static final byte[] KEY_ENCODING_RSACRT_PRIVATE
      • KEY_ENCODING_RSA_PUBLIC

        public static final byte[] KEY_ENCODING_RSA_PUBLIC
      • SITE_RECORD_FORMAT_VERSION

        public static final int SITE_RECORD_FORMAT_VERSION
        See Also:
        Constant Field Values
      • KEY_EXCHANGE_CIPHER_CLIENT

        public static final int KEY_EXCHANGE_CIPHER_CLIENT
        See Also:
        Constant Field Values
      • KEY_EXCHANGE_CIPHER_SERVER

        public static final int KEY_EXCHANGE_CIPHER_SERVER
        See Also:
        Constant Field Values
      • KEY_EXCHANGE_CIPHER_HDL

        public static final int KEY_EXCHANGE_CIPHER_HDL
        See Also:
        Constant Field Values
      • DEFAULT_SESSION_TIMEOUT

        public static final int DEFAULT_SESSION_TIMEOUT
        See Also:
        Constant Field Values
      • READ_ONLY_DB_STORAGE_KEY

        public static final java.lang.String READ_ONLY_DB_STORAGE_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • Common

        public Common()