| Package | Description |
|---|---|
| com.safenetinc.jcprov |
Provides access to the API functions, and general structure/class definitions.
|
| com.safenetinc.jcprov.params |
Provides parameter structure/class definitions used by some mechanisms.
|
| Modifier and Type | Method and Description |
|---|---|
static CK_RV |
Cryptoki.C_CopyObject(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hNewObject)
Copy an object, creating a new object for the copy.
|
static CK_RV |
CryptokiEx.C_CopyObject(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hNewObject) |
static CK_RV |
Cryptoki.C_CreateObject(CK_SESSION_HANDLE hSession,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hObject)
Create a new object.
|
static CK_RV |
CryptokiEx.C_CreateObject(CK_SESSION_HANDLE hSession,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hObject) |
static CK_RV |
Cryptoki.C_DeriveKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hBaseKey,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey)
Derive a key from a base key, creating a new key object.
|
static CK_RV |
CryptokiEx.C_DeriveKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hBaseKey,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey) |
static CK_RV |
Cryptoki.C_FindObjectsInit(CK_SESSION_HANDLE hSession,
CK_ATTRIBUTE[] template,
long attributeCount)
Initialise a search for token and session objects that match a template.
|
static CK_RV |
CryptokiEx.C_FindObjectsInit(CK_SESSION_HANDLE hSession,
CK_ATTRIBUTE[] template,
long attributeCount) |
static CK_RV |
Cryptoki.C_GenerateKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey)
Generate a secret key, creating a new key object.
|
static CK_RV |
CryptokiEx.C_GenerateKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey) |
static CK_RV |
Cryptoki.C_GenerateKeyPair(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] publicKeyTemplate,
long publicKeyAttributeCount,
CK_ATTRIBUTE[] privateKeyTemplate,
long privateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey)
Generate a public-key/private-key pair, creating new key objects.
|
static CK_RV |
Cryptoki.C_GenerateKeyPair(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] publicKeyTemplate,
long publicKeyAttributeCount,
CK_ATTRIBUTE[] privateKeyTemplate,
long privateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey)
Generate a public-key/private-key pair, creating new key objects.
|
static CK_RV |
CryptokiEx.C_GenerateKeyPair(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] publicKeyTemplate,
long publicKeyAttributeCount,
CK_ATTRIBUTE[] privateKeyTemplate,
long privateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey) |
static CK_RV |
CryptokiEx.C_GenerateKeyPair(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_ATTRIBUTE[] publicKeyTemplate,
long publicKeyAttributeCount,
CK_ATTRIBUTE[] privateKeyTemplate,
long privateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey) |
static CK_RV |
Cryptoki.C_GetAttributeValue(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount)
Obtain the value of one or more object attributes.
|
static CK_RV |
CryptokiEx.C_GetAttributeValue(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount) |
static CK_RV |
Cryptoki.C_SetAttributeValue(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount)
Modify the value of one or more object attributes.
|
static CK_RV |
CryptokiEx.C_SetAttributeValue(CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hObject,
CK_ATTRIBUTE[] template,
long attributeCount) |
static CK_RV |
Cryptoki.C_UnwrapKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hUnwrappingKey,
byte[] wrappedKey,
long wrappedKeyLen,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey)
Unwraps (decrypts) a wrapped key, creating a new key object.
|
static CK_RV |
CryptokiEx.C_UnwrapKey(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hUnwrappingKey,
byte[] wrappedKey,
long wrappedKeyLen,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_OBJECT_HANDLE hKey) |
static CK_RV |
Cryptoki.CA_DeriveKeyAndWrap(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hBaseKey,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_MECHANISM mechanismWrap,
CK_OBJECT_HANDLE hWrappingKey,
byte[] wrappedKey,
LongRef wrappedKeyLen)
Derive a key from a base key, return the key bytes.
|
static CK_RV |
CryptokiEx.CA_DeriveKeyAndWrap(CK_SESSION_HANDLE hSession,
CK_MECHANISM mechanism,
CK_OBJECT_HANDLE hBaseKey,
CK_ATTRIBUTE[] template,
long attributeCount,
CK_MECHANISM mechanismWrap,
CK_OBJECT_HANDLE hWrappingKey,
byte[] wrappedKey,
LongRef wrappedKeyLen) |
static boolean |
CK_ATTRIBUTE.updateAttribute(CK_ATTRIBUTE attr,
CK_ATTRIBUTE_TYPE type,
java.lang.Object pValue)
Updates the specified attribute, include type, value and length.
|
| Modifier and Type | Field and Description |
|---|---|
CK_ATTRIBUTE[] |
CK_PKCS12_PBE_IMPORT_PARAMS.certAttr
Certificate attributes
|
CK_ATTRIBUTE[] |
CK_BIP32_CHILD_DERIVE_PARAMS.pPrivateKeyTemplate
Attribute template for derived private key.
|
CK_ATTRIBUTE[] |
CK_BIP32_MASTER_DERIVE_PARAMS.pPrivateKeyTemplate
Attribute template for derived private key.
|
CK_ATTRIBUTE[] |
CK_BIP32_CHILD_DERIVE_PARAMS.pPublicKeyTemplate
Attribute template for derived public key.
|
CK_ATTRIBUTE[] |
CK_BIP32_MASTER_DERIVE_PARAMS.pPublicKeyTemplate
Attribute template for derived public key.
|
| Constructor and Description |
|---|
CK_BIP32_CHILD_DERIVE_PARAMS(CK_ATTRIBUTE[] pPublicKeyTemplate,
int ulPublicKeyAttributeCount,
CK_ATTRIBUTE[] pPrivateKeyTemplate,
int ulPrivateKeyAttributeCount,
int[] pulPath,
int ulPathLen,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey,
int ulPathErrorIndex)
Initialise values from parameters.
|
CK_BIP32_CHILD_DERIVE_PARAMS(CK_ATTRIBUTE[] pPublicKeyTemplate,
int ulPublicKeyAttributeCount,
CK_ATTRIBUTE[] pPrivateKeyTemplate,
int ulPrivateKeyAttributeCount,
int[] pulPath,
int ulPathLen,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey,
int ulPathErrorIndex)
Initialise values from parameters.
|
CK_BIP32_MASTER_DERIVE_PARAMS(CK_ATTRIBUTE[] pPublicKeyTemplate,
int ulPublicKeyAttributeCount,
CK_ATTRIBUTE[] pPrivateKeyTemplate,
int ulPrivateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey)
Initialise values from parameters.
|
CK_BIP32_MASTER_DERIVE_PARAMS(CK_ATTRIBUTE[] pPublicKeyTemplate,
int ulPublicKeyAttributeCount,
CK_ATTRIBUTE[] pPrivateKeyTemplate,
int ulPrivateKeyAttributeCount,
CK_OBJECT_HANDLE hPublicKey,
CK_OBJECT_HANDLE hPrivateKey)
Initialise values from parameters.
|
CK_PKCS12_PBE_IMPORT_PARAMS(byte[] passwordAuthSafe,
long passwordAuthSafeLen,
byte[] passwordHMAC,
long passwordHMACLen,
CK_ATTRIBUTE[] certAttr,
long certAttrCount,
CK_OBJECT_HANDLE[] hCert,
LongRef hCertCount)
Values initialised as specified
|
Copyright (c) 2021 SafeNet. All rights reserved.