sunpkcs11

16:53:20.796 INFO  jd.cli.Main - Decompiling sunpkcs11.jar
package sun.security.pkcs11.wrapper;

public abstract interface PKCS11Constants
{
  public static final boolean TRUE = true;
  public static final boolean FALSE = false;
  public static final Object NULL_PTR = null;
  public static final long CK_UNAVAILABLE_INFORMATION = -1L;
  public static final long CK_EFFECTIVELY_INFINITE = 0L;
  public static final long CK_INVALID_HANDLE = 0L;
  public static final long CKN_SURRENDER = 0L;
  public static final long CKF_TOKEN_PRESENT = 1L;
  public static final long CKF_REMOVABLE_DEVICE = 2L;
  public static final long CKF_HW_SLOT = 4L;
  public static final long CKF_RNG = 1L;
  public static final long CKF_WRITE_PROTECTED = 2L;
  public static final long CKF_LOGIN_REQUIRED = 4L;
  public static final long CKF_USER_PIN_INITIALIZED = 8L;
  public static final long CKF_RESTORE_KEY_NOT_NEEDED = 32L;
  public static final long CKF_CLOCK_ON_TOKEN = 64L;
  public static final long CKF_PROTECTED_AUTHENTICATION_PATH = 256L;
  public static final long CKF_DUAL_CRYPTO_OPERATIONS = 512L;
  public static final long CKF_TOKEN_INITIALIZED = 1024L;
  public static final long CKF_SECONDARY_AUTHENTICATION = 2048L;
  public static final long CKF_USER_PIN_COUNT_LOW = 65536L;
  public static final long CKF_USER_PIN_FINAL_TRY = 131072L;
  public static final long CKF_USER_PIN_LOCKED = 262144L;
  public static final long CKF_USER_PIN_TO_BE_CHANGED = 524288L;
  public static final long CKF_SO_PIN_COUNT_LOW = 1048576L;
  public static final long CKF_SO_PIN_FINAL_TRY = 2097152L;
  public static final long CKF_SO_PIN_LOCKED = 4194304L;
  public static final long CKF_SO_PIN_TO_BE_CHANGED = 8388608L;
  public static final long CKU_SO = 0L;
  public static final long CKU_USER = 1L;
  public static final long CKS_RO_PUBLIC_SESSION = 0L;
  public static final long CKS_RO_USER_FUNCTIONS = 1L;
  public static final long CKS_RW_PUBLIC_SESSION = 2L;
  public static final long CKS_RW_USER_FUNCTIONS = 3L;
  public static final long CKS_RW_SO_FUNCTIONS = 4L;
  public static final long CKF_RW_SESSION = 2L;
  public static final long CKF_SERIAL_SESSION = 4L;
  public static final long CKO_DATA = 0L;
  public static final long CKO_CERTIFICATE = 1L;
  public static final long CKO_PUBLIC_KEY = 2L;
  public static final long CKO_PRIVATE_KEY = 3L;
  public static final long CKO_SECRET_KEY = 4L;
  public static final long CKO_HW_FEATURE = 5L;
  public static final long CKO_DOMAIN_PARAMETERS = 6L;
  public static final long CKO_VENDOR_DEFINED = 2147483648L;
  public static final long PCKO_ANY = 2147483427L;
  public static final long CKH_MONOTONIC_COUNTER = 1L;
  public static final long CKH_CLOCK = 2L;
  public static final long CKH_VENDOR_DEFINED = 2147483648L;
  public static final long CKK_RSA = 0L;
  public static final long CKK_DSA = 1L;
  public static final long CKK_DH = 2L;
  public static final long CKK_ECDSA = 3L;
  public static final long CKK_EC = 3L;
  public static final long CKK_X9_42_DH = 4L;
  public static final long CKK_KEA = 5L;
  public static final long CKK_GENERIC_SECRET = 16L;
  public static final long CKK_RC2 = 17L;
  public static final long CKK_RC4 = 18L;
  public static final long CKK_DES = 19L;
  public static final long CKK_DES2 = 20L;
  public static final long CKK_DES3 = 21L;
  public static final long CKK_CAST = 22L;
  public static final long CKK_CAST3 = 23L;
  public static final long CKK_CAST5 = 24L;
  public static final long CKK_CAST128 = 24L;
  public static final long CKK_RC5 = 25L;
  public static final long CKK_IDEA = 26L;
  public static final long CKK_SKIPJACK = 27L;
  public static final long CKK_BATON = 28L;
  public static final long CKK_JUNIPER = 29L;
  public static final long CKK_CDMF = 30L;
  public static final long CKK_AES = 31L;
  public static final long CKK_BLOWFISH = 32L;
  public static final long CKK_VENDOR_DEFINED = 2147483648L;
  public static final long PCKK_ANY = 2147483426L;
  public static final long PCKK_HMAC = 2147483427L;
  public static final long PCKK_SSLMAC = 2147483428L;
  public static final long PCKK_TLSPREMASTER = 2147483429L;
  public static final long PCKK_TLSRSAPREMASTER = 2147483430L;
  public static final long PCKK_TLSMASTER = 2147483431L;
  public static final long CKC_X_509 = 0L;
  public static final long CKC_X_509_ATTR_CERT = 1L;
  public static final long CKC_VENDOR_DEFINED = 2147483648L;
  public static final long CKA_CLASS = 0L;
  public static final long CKA_TOKEN = 1L;
  public static final long CKA_PRIVATE = 2L;
  public static final long CKA_LABEL = 3L;
  public static final long CKA_APPLICATION = 16L;
  public static final long CKA_VALUE = 17L;
  public static final long CKA_OBJECT_ID = 18L;
  public static final long CKA_CERTIFICATE_TYPE = 128L;
  public static final long CKA_ISSUER = 129L;
  public static final long CKA_SERIAL_NUMBER = 130L;
  public static final long CKA_AC_ISSUER = 131L;
  public static final long CKA_OWNER = 132L;
  public static final long CKA_ATTR_TYPES = 133L;
  public static final long CKA_TRUSTED = 134L;
  public static final long CKA_KEY_TYPE = 256L;
  public static final long CKA_SUBJECT = 257L;
  public static final long CKA_ID = 258L;
  public static final long CKA_SENSITIVE = 259L;
  public static final long CKA_ENCRYPT = 260L;
  public static final long CKA_DECRYPT = 261L;
  public static final long CKA_WRAP = 262L;
  public static final long CKA_UNWRAP = 263L;
  public static final long CKA_SIGN = 264L;
  public static final long CKA_SIGN_RECOVER = 265L;
  public static final long CKA_VERIFY = 266L;
  public static final long CKA_VERIFY_RECOVER = 267L;
  public static final long CKA_DERIVE = 268L;
  public static final long CKA_START_DATE = 272L;
  public static final long CKA_END_DATE = 273L;
  public static final long CKA_MODULUS = 288L;
  public static final long CKA_MODULUS_BITS = 289L;
  public static final long CKA_PUBLIC_EXPONENT = 290L;
  public static final long CKA_PRIVATE_EXPONENT = 291L;
  public static final long CKA_PRIME_1 = 292L;
  public static final long CKA_PRIME_2 = 293L;
  public static final long CKA_EXPONENT_1 = 294L;
  public static final long CKA_EXPONENT_2 = 295L;
  public static final long CKA_COEFFICIENT = 296L;
  public static final long CKA_PRIME = 304L;
  public static final long CKA_SUBPRIME = 305L;
  public static final long CKA_BASE = 306L;
  public static final long CKA_PRIME_BITS = 307L;
  public static final long CKA_SUB_PRIME_BITS = 308L;
  public static final long CKA_VALUE_BITS = 352L;
  public static final long CKA_VALUE_LEN = 353L;
  public static final long CKA_EXTRACTABLE = 354L;
  public static final long CKA_LOCAL = 355L;
  public static final long CKA_NEVER_EXTRACTABLE = 356L;
  public static final long CKA_ALWAYS_SENSITIVE = 357L;
  public static final long CKA_KEY_GEN_MECHANISM = 358L;
  public static final long CKA_MODIFIABLE = 368L;
  public static final long CKA_ECDSA_PARAMS = 384L;
  public static final long CKA_EC_PARAMS = 384L;
  public static final long CKA_EC_POINT = 385L;
  public static final long CKA_SECONDARY_AUTH = 512L;
  public static final long CKA_AUTH_PIN_FLAGS = 513L;
  public static final long CKA_HW_FEATURE_TYPE = 768L;
  public static final long CKA_RESET_ON_INIT = 769L;
  public static final long CKA_HAS_RESET = 770L;
  public static final long CKA_VENDOR_DEFINED = 2147483648L;
  public static final long CKM_RSA_PKCS_KEY_PAIR_GEN = 0L;
  public static final long CKM_RSA_PKCS = 1L;
  public static final long CKM_RSA_9796 = 2L;
  public static final long CKM_RSA_X_509 = 3L;
  public static final long CKM_MD2_RSA_PKCS = 4L;
  public static final long CKM_MD5_RSA_PKCS = 5L;
  public static final long CKM_SHA1_RSA_PKCS = 6L;
  public static final long CKM_RIPEMD128_RSA_PKCS = 7L;
  public static final long CKM_RIPEMD160_RSA_PKCS = 8L;
  public static final long CKM_RSA_PKCS_OAEP = 9L;
  public static final long CKM_RSA_X9_31_KEY_PAIR_GEN = 10L;
  public static final long CKM_RSA_X9_31 = 11L;
  public static final long CKM_SHA1_RSA_X9_31 = 12L;
  public static final long CKM_RSA_PKCS_PSS = 13L;
  public static final long CKM_SHA1_RSA_PKCS_PSS = 14L;
  public static final long CKM_DSA_KEY_PAIR_GEN = 16L;
  public static final long CKM_DSA = 17L;
  public static final long CKM_DSA_SHA1 = 18L;
  public static final long CKM_DH_PKCS_KEY_PAIR_GEN = 32L;
  public static final long CKM_DH_PKCS_DERIVE = 33L;
  public static final long CKM_X9_42_DH_KEY_PAIR_GEN = 48L;
  public static final long CKM_X9_42_DH_DERIVE = 49L;
  public static final long CKM_X9_42_DH_HYBRID_DERIVE = 50L;
  public static final long CKM_X9_42_MQV_DERIVE = 51L;
  public static final long CKM_SHA256_RSA_PKCS = 64L;
  public static final long CKM_SHA384_RSA_PKCS = 65L;
  public static final long CKM_SHA512_RSA_PKCS = 66L;
  public static final long CKM_RC2_KEY_GEN = 256L;
  public static final long CKM_RC2_ECB = 257L;
  public static final long CKM_RC2_CBC = 258L;
  public static final long CKM_RC2_MAC = 259L;
  public static final long CKM_RC2_MAC_GENERAL = 260L;
  public static final long CKM_RC2_CBC_PAD = 261L;
  public static final long CKM_RC4_KEY_GEN = 272L;
  public static final long CKM_RC4 = 273L;
  public static final long CKM_DES_KEY_GEN = 288L;
  public static final long CKM_DES_ECB = 289L;
  public static final long CKM_DES_CBC = 290L;
  public static final long CKM_DES_MAC = 291L;
  public static final long CKM_DES_MAC_GENERAL = 292L;
  public static final long CKM_DES_CBC_PAD = 293L;
  public static final long CKM_DES2_KEY_GEN = 304L;
  public static final long CKM_DES3_KEY_GEN = 305L;
  public static final long CKM_DES3_ECB = 306L;
  public static final long CKM_DES3_CBC = 307L;
  public static final long CKM_DES3_MAC = 308L;
  public static final long CKM_DES3_MAC_GENERAL = 309L;
  public static final long CKM_DES3_CBC_PAD = 310L;
  public static final long CKM_CDMF_KEY_GEN = 320L;
  public static final long CKM_CDMF_ECB = 321L;
  public static final long CKM_CDMF_CBC = 322L;
  public static final long CKM_CDMF_MAC = 323L;
  public static final long CKM_CDMF_MAC_GENERAL = 324L;
  public static final long CKM_CDMF_CBC_PAD = 325L;
  public static final long CKM_MD2 = 512L;
  public static final long CKM_MD2_HMAC = 513L;
  public static final long CKM_MD2_HMAC_GENERAL = 514L;
  public static final long CKM_MD5 = 528L;
  public static final long CKM_MD5_HMAC = 529L;
  public static final long CKM_MD5_HMAC_GENERAL = 530L;
  public static final long CKM_SHA_1 = 544L;
  public static final long CKM_SHA_1_HMAC = 545L;
  public static final long CKM_SHA_1_HMAC_GENERAL = 546L;
  public static final long CKM_RIPEMD128 = 560L;
  public static final long CKM_RIPEMD128_HMAC = 561L;
  public static final long CKM_RIPEMD128_HMAC_GENERAL = 562L;
  public static final long CKM_RIPEMD160 = 576L;
  public static final long CKM_RIPEMD160_HMAC = 577L;
  public static final long CKM_RIPEMD160_HMAC_GENERAL = 578L;
  public static final long CKM_SHA256 = 592L;
  public static final long CKM_SHA256_HMAC = 593L;
  public static final long CKM_SHA256_HMAC_GENERAL = 594L;
  public static final long CKM_SHA384 = 608L;
  public static final long CKM_SHA384_HMAC = 609L;
  public static final long CKM_SHA384_HMAC_GENERAL = 610L;
  public static final long CKM_SHA512 = 624L;
  public static final long CKM_SHA512_HMAC = 625L;
  public static final long CKM_SHA512_HMAC_GENERAL = 626L;
  public static final long CKM_CAST_KEY_GEN = 768L;
  public static final long CKM_CAST_ECB = 769L;
  public static final long CKM_CAST_CBC = 770L;
  public static final long CKM_CAST_MAC = 771L;
  public static final long CKM_CAST_MAC_GENERAL = 772L;
  public static final long CKM_CAST_CBC_PAD = 773L;
  public static final long CKM_CAST3_KEY_GEN = 784L;
  public static final long CKM_CAST3_ECB = 785L;
  public static final long CKM_CAST3_CBC = 786L;
  public static final long CKM_CAST3_MAC = 787L;
  public static final long CKM_CAST3_MAC_GENERAL = 788L;
  public static final long CKM_CAST3_CBC_PAD = 789L;
  public static final long CKM_CAST5_KEY_GEN = 800L;
  public static final long CKM_CAST128_KEY_GEN = 800L;
  public static final long CKM_CAST5_ECB = 801L;
  public static final long CKM_CAST128_ECB = 801L;
  public static final long CKM_CAST5_CBC = 802L;
  public static final long CKM_CAST128_CBC = 802L;
  public static final long CKM_CAST5_MAC = 803L;
  public static final long CKM_CAST128_MAC = 803L;
  public static final long CKM_CAST5_MAC_GENERAL = 804L;
  public static final long CKM_CAST128_MAC_GENERAL = 804L;
  public static final long CKM_CAST5_CBC_PAD = 805L;
  public static final long CKM_CAST128_CBC_PAD = 805L;
  public static final long CKM_RC5_KEY_GEN = 816L;
  public static final long CKM_RC5_ECB = 817L;
  public static final long CKM_RC5_CBC = 818L;
  public static final long CKM_RC5_MAC = 819L;
  public static final long CKM_RC5_MAC_GENERAL = 820L;
  public static final long CKM_RC5_CBC_PAD = 821L;
  public static final long CKM_IDEA_KEY_GEN = 832L;
  public static final long CKM_IDEA_ECB = 833L;
  public static final long CKM_IDEA_CBC = 834L;
  public static final long CKM_IDEA_MAC = 835L;
  public static final long CKM_IDEA_MAC_GENERAL = 836L;
  public static final long CKM_IDEA_CBC_PAD = 837L;
  public static final long CKM_GENERIC_SECRET_KEY_GEN = 848L;
  public static final long CKM_CONCATENATE_BASE_AND_KEY = 864L;
  public static final long CKM_CONCATENATE_BASE_AND_DATA = 866L;
  public static final long CKM_CONCATENATE_DATA_AND_BASE = 867L;
  public static final long CKM_XOR_BASE_AND_DATA = 868L;
  public static final long CKM_EXTRACT_KEY_FROM_KEY = 869L;
  public static final long CKM_SSL3_PRE_MASTER_KEY_GEN = 880L;
  public static final long CKM_SSL3_MASTER_KEY_DERIVE = 881L;
  public static final long CKM_SSL3_KEY_AND_MAC_DERIVE = 882L;
  public static final long CKM_SSL3_MASTER_KEY_DERIVE_DH = 883L;
  public static final long CKM_TLS_PRE_MASTER_KEY_GEN = 884L;
  public static final long CKM_TLS_MASTER_KEY_DERIVE = 885L;
  public static final long CKM_TLS_KEY_AND_MAC_DERIVE = 886L;
  public static final long CKM_TLS_MASTER_KEY_DERIVE_DH = 887L;
  public static final long CKM_TLS_PRF = 888L;
  public static final long CKM_SSL3_MD5_MAC = 896L;
  public static final long CKM_SSL3_SHA1_MAC = 897L;
  public static final long CKM_MD5_KEY_DERIVATION = 912L;
  public static final long CKM_MD2_KEY_DERIVATION = 913L;
  public static final long CKM_SHA1_KEY_DERIVATION = 914L;
  public static final long CKM_SHA256_KEY_DERIVATION = 915L;
  public static final long CKM_SHA384_KEY_DERIVATION = 916L;
  public static final long CKM_SHA512_KEY_DERIVATION = 917L;
  public static final long CKM_PBE_MD2_DES_CBC = 928L;
  public static final long CKM_PBE_MD5_DES_CBC = 929L;
  public static final long CKM_PBE_MD5_CAST_CBC = 930L;
  public static final long CKM_PBE_MD5_CAST3_CBC = 931L;
  public static final long CKM_PBE_MD5_CAST5_CBC = 932L;
  public static final long CKM_PBE_MD5_CAST128_CBC = 932L;
  public static final long CKM_PBE_SHA1_CAST5_CBC = 933L;
  public static final long CKM_PBE_SHA1_CAST128_CBC = 933L;
  public static final long CKM_PBE_SHA1_RC4_128 = 934L;
  public static final long CKM_PBE_SHA1_RC4_40 = 935L;
  public static final long CKM_PBE_SHA1_DES3_EDE_CBC = 936L;
  public static final long CKM_PBE_SHA1_DES2_EDE_CBC = 937L;
  public static final long CKM_PBE_SHA1_RC2_128_CBC = 938L;
  public static final long CKM_PBE_SHA1_RC2_40_CBC = 939L;
  public static final long CKM_PKCS5_PBKD2 = 944L;
  public static final long CKM_PBA_SHA1_WITH_SHA1_HMAC = 960L;
  public static final long CKM_KEY_WRAP_LYNKS = 1024L;
  public static final long CKM_KEY_WRAP_SET_OAEP = 1025L;
  public static final long CKM_SKIPJACK_KEY_GEN = 4096L;
  public static final long CKM_SKIPJACK_ECB64 = 4097L;
  public static final long CKM_SKIPJACK_CBC64 = 4098L;
  public static final long CKM_SKIPJACK_OFB64 = 4099L;
  public static final long CKM_SKIPJACK_CFB64 = 4100L;
  public static final long CKM_SKIPJACK_CFB32 = 4101L;
  public static final long CKM_SKIPJACK_CFB16 = 4102L;
  public static final long CKM_SKIPJACK_CFB8 = 4103L;
  public static final long CKM_SKIPJACK_WRAP = 4104L;
  public static final long CKM_SKIPJACK_PRIVATE_WRAP = 4105L;
  public static final long CKM_SKIPJACK_RELAYX = 4106L;
  public static final long CKM_KEA_KEY_PAIR_GEN = 4112L;
  public static final long CKM_KEA_KEY_DERIVE = 4113L;
  public static final long CKM_FORTEZZA_TIMESTAMP = 4128L;
  public static final long CKM_BATON_KEY_GEN = 4144L;
  public static final long CKM_BATON_ECB128 = 4145L;
  public static final long CKM_BATON_ECB96 = 4146L;
  public static final long CKM_BATON_CBC128 = 4147L;
  public static final long CKM_BATON_COUNTER = 4148L;
  public static final long CKM_BATON_SHUFFLE = 4149L;
  public static final long CKM_BATON_WRAP = 4150L;
  public static final long CKM_ECDSA_KEY_PAIR_GEN = 4160L;
  public static final long CKM_EC_KEY_PAIR_GEN = 4160L;
  public static final long CKM_ECDSA = 4161L;
  public static final long CKM_ECDSA_SHA1 = 4162L;
  public static final long CKM_ECDH1_DERIVE = 4176L;
  public static final long CKM_ECDH1_COFACTOR_DERIVE = 4177L;
  public static final long CKM_ECMQV_DERIVE = 4178L;
  public static final long CKM_JUNIPER_KEY_GEN = 4192L;
  public static final long CKM_JUNIPER_ECB128 = 4193L;
  public static final long CKM_JUNIPER_CBC128 = 4194L;
  public static final long CKM_JUNIPER_COUNTER = 4195L;
  public static final long CKM_JUNIPER_SHUFFLE = 4196L;
  public static final long CKM_JUNIPER_WRAP = 4197L;
  public static final long CKM_FASTHASH = 4208L;
  public static final long CKM_AES_KEY_GEN = 4224L;
  public static final long CKM_AES_ECB = 4225L;
  public static final long CKM_AES_CBC = 4226L;
  public static final long CKM_AES_MAC = 4227L;
  public static final long CKM_AES_MAC_GENERAL = 4228L;
  public static final long CKM_AES_CBC_PAD = 4229L;
  public static final long CKM_BLOWFISH_KEY_GEN = 4240L;
  public static final long CKM_BLOWFISH_CBC = 4241L;
  public static final long CKM_DSA_PARAMETER_GEN = 8192L;
  public static final long CKM_DH_PKCS_PARAMETER_GEN = 8193L;
  public static final long CKM_X9_42_DH_PARAMETER_GEN = 8194L;
  public static final long CKM_VENDOR_DEFINED = 2147483648L;
  public static final long CKM_NSS_TLS_PRF_GENERAL = 2147484531L;
  public static final long PCKM_SECURERANDOM = 2147483424L;
  public static final long PCKM_KEYSTORE = 2147483425L;
  public static final long CKF_HW = 1L;
  public static final long CKF_ENCRYPT = 256L;
  public static final long CKF_DECRYPT = 512L;
  public static final long CKF_DIGEST = 1024L;
  public static final long CKF_SIGN = 2048L;
  public static final long CKF_SIGN_RECOVER = 4096L;
  public static final long CKF_VERIFY = 8192L;
  public static final long CKF_VERIFY_RECOVER = 16384L;
  public static final long CKF_GENERATE = 32768L;
  public static final long CKF_GENERATE_KEY_PAIR = 65536L;
  public static final long CKF_WRAP = 131072L;
  public static final long CKF_UNWRAP = 262144L;
  public static final long CKF_DERIVE = 524288L;
  public static final long CKF_EC_F_P = 1048576L;
  public static final long CKF_EC_F_2M = 2097152L;
  public static final long CKF_EC_ECPARAMETERS = 4194304L;
  public static final long CKF_EC_NAMEDCURVE = 8388608L;
  public static final long CKF_EC_UNCOMPRESS = 16777216L;
  public static final long CKF_EC_COMPRESS = 33554432L;
  public static final long CKF_EXTENSION = 2147483648L;
  public static final long CKR_OK = 0L;
  public static final long CKR_CANCEL = 1L;
  public static final long CKR_HOST_MEMORY = 2L;
  public static final long CKR_SLOT_ID_INVALID = 3L;
  public static final long CKR_GENERAL_ERROR = 5L;
  public static final long CKR_FUNCTION_FAILED = 6L;
  public static final long CKR_ARGUMENTS_BAD = 7L;
  public static final long CKR_NO_EVENT = 8L;
  public static final long CKR_NEED_TO_CREATE_THREADS = 9L;
  public static final long CKR_CANT_LOCK = 10L;
  public static final long CKR_ATTRIBUTE_READ_ONLY = 16L;
  public static final long CKR_ATTRIBUTE_SENSITIVE = 17L;
  public static final long CKR_ATTRIBUTE_TYPE_INVALID = 18L;
  public static final long CKR_ATTRIBUTE_VALUE_INVALID = 19L;
  public static final long CKR_DATA_INVALID = 32L;
  public static final long CKR_DATA_LEN_RANGE = 33L;
  public static final long CKR_DEVICE_ERROR = 48L;
  public static final long CKR_DEVICE_MEMORY = 49L;
  public static final long CKR_DEVICE_REMOVED = 50L;
  public static final long CKR_ENCRYPTED_DATA_INVALID = 64L;
  public static final long CKR_ENCRYPTED_DATA_LEN_RANGE = 65L;
  public static final long CKR_FUNCTION_CANCELED = 80L;
  public static final long CKR_FUNCTION_NOT_PARALLEL = 81L;
  public static final long CKR_FUNCTION_NOT_SUPPORTED = 84L;
  public static final long CKR_KEY_HANDLE_INVALID = 96L;
  public static final long CKR_KEY_SIZE_RANGE = 98L;
  public static final long CKR_KEY_TYPE_INCONSISTENT = 99L;
  public static final long CKR_KEY_NOT_NEEDED = 100L;
  public static final long CKR_KEY_CHANGED = 101L;
  public static final long CKR_KEY_NEEDED = 102L;
  public static final long CKR_KEY_INDIGESTIBLE = 103L;
  public static final long CKR_KEY_FUNCTION_NOT_PERMITTED = 104L;
  public static final long CKR_KEY_NOT_WRAPPABLE = 105L;
  public static final long CKR_KEY_UNEXTRACTABLE = 106L;
  public static final long CKR_MECHANISM_INVALID = 112L;
  public static final long CKR_MECHANISM_PARAM_INVALID = 113L;
  public static final long CKR_OBJECT_HANDLE_INVALID = 130L;
  public static final long CKR_OPERATION_ACTIVE = 144L;
  public static final long CKR_OPERATION_NOT_INITIALIZED = 145L;
  public static final long CKR_PIN_INCORRECT = 160L;
  public static final long CKR_PIN_INVALID = 161L;
  public static final long CKR_PIN_LEN_RANGE = 162L;
  public static final long CKR_PIN_EXPIRED = 163L;
  public static final long CKR_PIN_LOCKED = 164L;
  public static final long CKR_SESSION_CLOSED = 176L;
  public static final long CKR_SESSION_COUNT = 177L;
  public static final long CKR_SESSION_HANDLE_INVALID = 179L;
  public static final long CKR_SESSION_PARALLEL_NOT_SUPPORTED = 180L;
  public static final long CKR_SESSION_READ_ONLY = 181L;
  public static final long CKR_SESSION_EXISTS = 182L;
  public static final long CKR_SESSION_READ_ONLY_EXISTS = 183L;
  public static final long CKR_SESSION_READ_WRITE_SO_EXISTS = 184L;
  public static final long CKR_SIGNATURE_INVALID = 192L;
  public static final long CKR_SIGNATURE_LEN_RANGE = 193L;
  public static final long CKR_TEMPLATE_INCOMPLETE = 208L;
  public static final long CKR_TEMPLATE_INCONSISTENT = 209L;
  public static final long CKR_TOKEN_NOT_PRESENT = 224L;
  public static final long CKR_TOKEN_NOT_RECOGNIZED = 225L;
  public static final long CKR_TOKEN_WRITE_PROTECTED = 226L;
  public static final long CKR_UNWRAPPING_KEY_HANDLE_INVALID = 240L;
  public static final long CKR_UNWRAPPING_KEY_SIZE_RANGE = 241L;
  public static final long CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT = 242L;
  public static final long CKR_USER_ALREADY_LOGGED_IN = 256L;
  public static final long CKR_USER_NOT_LOGGED_IN = 257L;
  public static final long CKR_USER_PIN_NOT_INITIALIZED = 258L;
  public static final long CKR_USER_TYPE_INVALID = 259L;
  public static final long CKR_USER_ANOTHER_ALREADY_LOGGED_IN = 260L;
  public static final long CKR_USER_TOO_MANY_TYPES = 261L;
  public static final long CKR_WRAPPED_KEY_INVALID = 272L;
  public static final long CKR_WRAPPED_KEY_LEN_RANGE = 274L;
  public static final long CKR_WRAPPING_KEY_HANDLE_INVALID = 275L;
  public static final long CKR_WRAPPING_KEY_SIZE_RANGE = 276L;
  public static final long CKR_WRAPPING_KEY_TYPE_INCONSISTENT = 277L;
  public static final long CKR_RANDOM_SEED_NOT_SUPPORTED = 288L;
  public static final long CKR_RANDOM_NO_RNG = 289L;
  public static final long CKR_DOMAIN_PARAMS_INVALID = 304L;
  public static final long CKR_BUFFER_TOO_SMALL = 336L;
  public static final long CKR_SAVED_STATE_INVALID = 352L;
  public static final long CKR_INFORMATION_SENSITIVE = 368L;
  public static final long CKR_STATE_UNSAVEABLE = 384L;
  public static final long CKR_CRYPTOKI_NOT_INITIALIZED = 400L;
  public static final long CKR_CRYPTOKI_ALREADY_INITIALIZED = 401L;
  public static final long CKR_MUTEX_BAD = 416L;
  public static final long CKR_MUTEX_NOT_LOCKED = 417L;
  public static final long CKR_VENDOR_DEFINED = 2147483648L;
  public static final long CKF_LIBRARY_CANT_CREATE_OS_THREADS = 1L;
  public static final long CKF_OS_LOCKING_OK = 2L;
  public static final long CKF_DONT_BLOCK = 1L;
  public static final long CKG_MGF1_SHA1 = 1L;
  public static final long CKZ_DATA_SPECIFIED = 1L;
  public static final long CKP_PKCS5_PBKD2_HMAC_SHA1 = 1L;
  public static final long CKZ_SALT_SPECIFIED = 1L;
  public static final long CKD_NULL = 1L;
  public static final long CKD_SHA1_KDF = 2L;
  public static final long CKD_SHA1_KDF_ASN1 = 3L;
  public static final long CKD_SHA1_KDF_CONCATENATE = 4L;
  public static final long CKA_NETSCAPE_DB = 3584088832L;
  public static final long CKA_NETSCAPE_BASE = 3461563216L;
  public static final long CKO_NETSCAPE_TRUST = 3461563219L;
  public static final long CKA_NETSCAPE_TRUST_BASE = 3461571408L;
  public static final long CKA_NETSCAPE_TRUST_SERVER_AUTH = 3461571416L;
  public static final long CKA_NETSCAPE_TRUST_CLIENT_AUTH = 3461571417L;
  public static final long CKA_NETSCAPE_TRUST_CODE_SIGNING = 3461571418L;
  public static final long CKA_NETSCAPE_TRUST_EMAIL_PROTECTION = 3461571419L;
  public static final long CKA_NETSCAPE_CERT_SHA1_HASH = 3461571508L;
  public static final long CKA_NETSCAPE_CERT_MD5_HASH = 3461571509L;
  public static final long CKT_NETSCAPE_TRUSTED = 3461563217L;
  public static final long CKT_NETSCAPE_TRUSTED_DELEGATOR = 3461563218L;
  public static final long CKT_NETSCAPE_UNTRUSTED = 3461563219L;
  public static final long CKT_NETSCAPE_MUST_VERIFY = 3461563220L;
  public static final long CKT_NETSCAPE_TRUST_UNKNOWN = 3461563221L;
  public static final long CKT_NETSCAPE_VALID = 3461563226L;
  public static final long CKT_NETSCAPE_VALID_DELEGATOR = 3461563227L;
}

/* Location:
 * Qualified Name:     sun.security.pkcs11.wrapper.PKCS11Constants
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package sun.security.pkcs11.wrapper;

import java.math.BigInteger;
import sun.security.pkcs11.P11Util;

public class CK_ATTRIBUTE
{
  public static final CK_ATTRIBUTE TOKEN_FALSE = new CK_ATTRIBUTE(1L, false);
  public static final CK_ATTRIBUTE SENSITIVE_FALSE = new CK_ATTRIBUTE(259L, false);
  public static final CK_ATTRIBUTE EXTRACTABLE_TRUE = new CK_ATTRIBUTE(354L, true);
  public static final CK_ATTRIBUTE ENCRYPT_TRUE = new CK_ATTRIBUTE(260L, true);
  public static final CK_ATTRIBUTE DECRYPT_TRUE = new CK_ATTRIBUTE(261L, true);
  public static final CK_ATTRIBUTE WRAP_TRUE = new CK_ATTRIBUTE(262L, true);
  public static final CK_ATTRIBUTE UNWRAP_TRUE = new CK_ATTRIBUTE(263L, true);
  public static final CK_ATTRIBUTE SIGN_TRUE = new CK_ATTRIBUTE(264L, true);
  public static final CK_ATTRIBUTE VERIFY_TRUE = new CK_ATTRIBUTE(266L, true);
  public static final CK_ATTRIBUTE SIGN_RECOVER_TRUE = new CK_ATTRIBUTE(265L, true);
  public static final CK_ATTRIBUTE VERIFY_RECOVER_TRUE = new CK_ATTRIBUTE(267L, true);
  public static final CK_ATTRIBUTE DERIVE_TRUE = new CK_ATTRIBUTE(268L, true);
  public static final CK_ATTRIBUTE ENCRYPT_NULL = new CK_ATTRIBUTE(260L);
  public static final CK_ATTRIBUTE DECRYPT_NULL = new CK_ATTRIBUTE(261L);
  public static final CK_ATTRIBUTE WRAP_NULL = new CK_ATTRIBUTE(262L);
  public static final CK_ATTRIBUTE UNWRAP_NULL = new CK_ATTRIBUTE(263L);
  public long type;
  public Object pValue;
  
  public CK_ATTRIBUTE() {}
  
  public CK_ATTRIBUTE(long paramLong)
  {
    type = paramLong;
  }
  
  public CK_ATTRIBUTE(long paramLong, Object paramObject)
  {
    type = paramLong;
    pValue = paramObject;
  }
  
  public CK_ATTRIBUTE(long paramLong, boolean paramBoolean)
  {
    type = paramLong;
    pValue = Boolean.valueOf(paramBoolean);
  }
  
  public CK_ATTRIBUTE(long paramLong1, long paramLong2)
  {
    type = paramLong1;
    pValue = Long.valueOf(paramLong2);
  }
  
  public CK_ATTRIBUTE(long paramLong, BigInteger paramBigInteger)
  {
    type = paramLong;
    pValue = P11Util.getMagnitude(paramBigInteger);
  }
  
  public BigInteger getBigInteger()
  {
    if (!(pValue instanceof byte[])) {
      throw new RuntimeException("Not a byte[]");
    }
    return new BigInteger(1, (byte[])pValue);
  }
  
  public boolean getBoolean()
  {
    if (!(pValue instanceof Boolean)) {
      throw new RuntimeException("Not a Boolean: " + pValue.getClass().getName());
    }
    return ((Boolean)pValue).booleanValue();
  }
  
  public char[] getCharArray()
  {
    if (!(pValue instanceof char[])) {
      throw new RuntimeException("Not a char[]");
    }
    return (char[])pValue;
  }
  
  public byte[] getByteArray()
  {
    if (!(pValue instanceof byte[])) {
      throw new RuntimeException("Not a byte[]");
    }
    return (byte[])pValue;
  }
  
  public long getLong()
  {
    if (!(pValue instanceof Long)) {
      throw new RuntimeException("Not a Long: " + pValue.getClass().getName());
    }
    return ((Long)pValue).longValue();
  }
  
  public String toString()
  {
    String str1 = Functions.getAttributeName(type) + " = ";
    if (type == 0L) {
      return str1 + Functions.getObjectClassName(getLong());
    }
    if (type == 256L) {
      return str1 + Functions.getKeyName(getLong());
    }
    String str2;
    if ((pValue instanceof char[])) {
      str2 = new String((char[])pValue);
    } else if ((pValue instanceof byte[])) {
      str2 = Functions.toHexString((byte[])pValue);
    } else {
      str2 = String.valueOf(pValue);
    }
    return str1 + str2;
  }
}

/* Location:
 * Qualified Name:     sun.security.pkcs11.wrapper.CK_ATTRIBUTE
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package sun.security.pkcs11.wrapper;

import java.security.PrivilegedAction;

final class PKCS11$1
  implements PrivilegedAction<Object>
{
  public Object run()
  {
    System.loadLibrary("j2pkcs11");
    return null;
  }
}

/* Location:
 * Qualified Name:     sun.security.pkcs11.wrapper.PKCS11.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package sun.security.pkcs11.wrapper;

import java.io.IOException;

class PKCS11$SynchronizedPKCS11
  extends PKCS11
{
  PKCS11$SynchronizedPKCS11(String paramString1, String paramString2)
    throws IOException
  {
    super(paramString1, paramString2);
  }
  
  synchronized void C_Initialize(Object paramObject)
    throws PKCS11Exception
  {
    super.C_Initialize(paramObject);
  }
  
  public synchronized void C_Finalize(Object paramObject)
    throws PKCS11Exception
  {
    super.C_Finalize(paramObject);
  }
  
  public synchronized CK_INFO C_GetInfo()
    throws PKCS11Exception
  {
    return super.C_GetInfo();
  }
  
  public synchronized long[] C_GetSlotList(boolean paramBoolean)
    throws PKCS11Exception
  {
    return super.C_GetSlotList(paramBoolean);
  }
  
  public synchronized CK_SLOT_INFO C_GetSlotInfo(long paramLong)
    throws PKCS11Exception
  {
    return super.C_GetSlotInfo(paramLong);
  }
  
  public synchronized CK_TOKEN_INFO C_GetTokenInfo(long paramLong)
    throws PKCS11Exception
  {
    return super.C_GetTokenInfo(paramLong);
  }
  
  public synchronized long[] C_GetMechanismList(long paramLong)
    throws PKCS11Exception
  {
    return super.C_GetMechanismList(paramLong);
  }
  
  public synchronized CK_MECHANISM_INFO C_GetMechanismInfo(long paramLong1, long paramLong2)
    throws PKCS11Exception
  {
    return super.C_GetMechanismInfo(paramLong1, paramLong2);
  }
  
  public synchronized long C_OpenSession(long paramLong1, long paramLong2, Object paramObject, CK_NOTIFY paramCK_NOTIFY)
    throws PKCS11Exception
  {
    return super.C_OpenSession(paramLong1, paramLong2, paramObject, paramCK_NOTIFY);
  }
  
  public synchronized void C_CloseSession(long paramLong)
    throws PKCS11Exception
  {
    super.C_CloseSession(paramLong);
  }
  
  public synchronized CK_SESSION_INFO C_GetSessionInfo(long paramLong)
    throws PKCS11Exception
  {
    return super.C_GetSessionInfo(paramLong);
  }
  
  public synchronized void C_Login(long paramLong1, long paramLong2, char[] paramArrayOfChar)
    throws PKCS11Exception
  {
    super.C_Login(paramLong1, paramLong2, paramArrayOfChar);
  }
  
  public synchronized void C_Logout(long paramLong)
    throws PKCS11Exception
  {
    super.C_Logout(paramLong);
  }
  
  public synchronized long C_CreateObject(long paramLong, CK_ATTRIBUTE[] paramArrayOfCK_ATTRIBUTE)
    throws PKCS11Exception
  {
    return super.C_CreateObject(paramLong, paramArrayOfCK_ATTRIBUTE);
  }
  
  public synchronized long C_CopyObject(long paramLong1, long paramLong2, CK_ATTRIBUTE[] paramArrayOfCK_ATTRIBUTE)
    throws PKCS11Exception
  {
    return super.C_CopyObject(paramLong1, paramLong2, paramArrayOfCK_ATTRIBUTE);
  }
  
  public synchronized void C_DestroyObject(long paramLong1, long paramLong2)
    throws PKCS11Exception
  {
    super.C_DestroyObject(paramLong1, paramLong2);
  }
  
  public synchronized void C_GetAttributeValue(long paramLong1, long paramLong2, CK_ATTRIBUTE[] paramArrayOfCK_ATTRIBUTE)
    throws PKCS11Exception
  {
    super.C_GetAttributeValue(paramLong1, paramLong2, paramArrayOfCK_ATTRIBUTE);
  }
  
  public synchronized void C_SetAttributeValue(long paramLong1, long paramLong2, CK_ATTRIBUTE[] paramArrayOfCK_ATTRIBUTE)
    throws PKCS11Exception
  {
    super.C_SetAttributeValue(paramLong1, paramLong2, paramArrayOfCK_ATTRIBUTE);
  }
  
  public synchronized void C_FindObjectsInit(long paramLong, CK_ATTRIBUTE[] paramArrayOfCK_ATTRIBUTE)
    throws PKCS11Exception
  {
    super.C_FindObjectsInit(paramLong, paramArrayOfCK_ATTRIBUTE);
  }
  
  public synchronized long[] C_FindObjects(long paramLong1, long paramLong2)
    throws PKCS11Exception
  {
    return super.C_FindObjects(paramLong1, paramLong2);
  }
  
  public synchronized void C_FindObjectsFinal(long paramLong)
    throws PKCS11Exception
  {
    super.C_FindObjectsFinal(paramLong);
  }
  
  public synchronized void C_EncryptInit(long paramLong1, CK_MECHANISM paramCK_MECHANISM, long paramLong2)
    throws PKCS11Exception
  {
    super.C_EncryptInit(paramLong1, paramCK_MECHANISM, paramLong2);
  }
  
  public synchronized int C_Encrypt(long paramLong, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_Encrypt(paramLong, paramArrayOfByte1, paramInt1, paramInt2, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized int C_EncryptUpdate(long paramLong1, long paramLong2, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, long paramLong3, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_EncryptUpdate(paramLong1, paramLong2, paramArrayOfByte1, paramInt1, paramInt2, paramLong3, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized int C_EncryptFinal(long paramLong1, long paramLong2, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    return super.C_EncryptFinal(paramLong1, paramLong2, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized void C_DecryptInit(long paramLong1, CK_MECHANISM paramCK_MECHANISM, long paramLong2)
    throws PKCS11Exception
  {
    super.C_DecryptInit(paramLong1, paramCK_MECHANISM, paramLong2);
  }
  
  public synchronized int C_Decrypt(long paramLong, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_Decrypt(paramLong, paramArrayOfByte1, paramInt1, paramInt2, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized int C_DecryptUpdate(long paramLong1, long paramLong2, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, long paramLong3, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_DecryptUpdate(paramLong1, paramLong2, paramArrayOfByte1, paramInt1, paramInt2, paramLong3, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized int C_DecryptFinal(long paramLong1, long paramLong2, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    return super.C_DecryptFinal(paramLong1, paramLong2, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized void C_DigestInit(long paramLong, CK_MECHANISM paramCK_MECHANISM)
    throws PKCS11Exception
  {
    super.C_DigestInit(paramLong, paramCK_MECHANISM);
  }
  
  public synchronized int C_DigestSingle(long paramLong, CK_MECHANISM paramCK_MECHANISM, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_DigestSingle(paramLong, paramCK_MECHANISM, paramArrayOfByte1, paramInt1, paramInt2, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized void C_DigestUpdate(long paramLong1, long paramLong2, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    super.C_DigestUpdate(paramLong1, paramLong2, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized void C_DigestKey(long paramLong1, long paramLong2)
    throws PKCS11Exception
  {
    super.C_DigestKey(paramLong1, paramLong2);
  }
  
  public synchronized int C_DigestFinal(long paramLong, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    return super.C_DigestFinal(paramLong, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized void C_SignInit(long paramLong1, CK_MECHANISM paramCK_MECHANISM, long paramLong2)
    throws PKCS11Exception
  {
    super.C_SignInit(paramLong1, paramCK_MECHANISM, paramLong2);
  }
  
  public synchronized byte[] C_Sign(long paramLong, byte[] paramArrayOfByte)
    throws PKCS11Exception
  {
    return super.C_Sign(paramLong, paramArrayOfByte);
  }
  
  public synchronized void C_SignUpdate(long paramLong1, long paramLong2, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    super.C_SignUpdate(paramLong1, paramLong2, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized byte[] C_SignFinal(long paramLong, int paramInt)
    throws PKCS11Exception
  {
    return super.C_SignFinal(paramLong, paramInt);
  }
  
  public synchronized void C_SignRecoverInit(long paramLong1, CK_MECHANISM paramCK_MECHANISM, long paramLong2)
    throws PKCS11Exception
  {
    super.C_SignRecoverInit(paramLong1, paramCK_MECHANISM, paramLong2);
  }
  
  public synchronized int C_SignRecover(long paramLong, byte[] paramArrayOfByte1, int paramInt1, int paramInt2, byte[] paramArrayOfByte2, int paramInt3, int paramInt4)
    throws PKCS11Exception
  {
    return super.C_SignRecover(paramLong, paramArrayOfByte1, paramInt1, paramInt2, paramArrayOfByte2, paramInt3, paramInt4);
  }
  
  public synchronized void C_VerifyInit(long paramLong1, CK_MECHANISM paramCK_MECHANISM, long paramLong2)
    throws PKCS11Exception
  {
    super.C_VerifyInit(paramLong1, paramCK_MECHANISM, paramLong2);
  }
  
  public synchronized void C_Verify(long paramLong, byte[] paramArrayOfByte1, byte[] paramArrayOfByte2)
    throws PKCS11Exception
  {
    super.C_Verify(paramLong, paramArrayOfByte1, paramArrayOfByte2);
  }
  
  public synchronized void C_VerifyUpdate(long paramLong1, long paramLong2, byte[] paramArrayOfByte, int paramInt1, int paramInt2)
    throws PKCS11Exception
  {
    super.C_VerifyUpdate(paramLong1, paramLong2, paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public synchronized void C_VerifyFinal(long paramLong, byte[] paramArrayOfByte)
    throws PKCS11Exception
  {
    super.C_VerifyFinal(paramLong, paramArrayOfByte);
  }
  
  public synchronized void C_VerifyRecoverInit(l
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd