- DateAttribute - Class in org.xipki.pkcs11.wrapper.attrs
-
Objects of this class represent a date attribute of a PKCS#11 object
as specified by PKCS#11.
- DateAttribute(long) - Constructor for class org.xipki.pkcs11.wrapper.attrs.DateAttribute
-
Constructor taking the PKCS#11 type of the attribute.
- dateValue(Instant) - Method in class org.xipki.pkcs11.wrapper.attrs.DateAttribute
-
Set the date value of this attribute.
- debug(String, Object...) - Method in interface org.xipki.pkcs11.wrapper.Logger
-
- debug(String, Object...) - Static method in class org.xipki.pkcs11.wrapper.StaticLogger
-
- decodeHex(String) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- decodeOid(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- decrypt() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- decrypt(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- decrypt() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- decrypt(Mechanism, long, byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Decrypts the given data with the key and mechanism.
- decrypt(Mechanism, long, byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Decrypts the given data with the key and mechanism.
- decrypt(OutputStream, Mechanism, long, InputStream) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
This method can be used to decrypt large data.
- decrypt(byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Decrypts the given data with the key and mechanism given to the decryptInit method.
- decrypt(byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
Decrypts the given data with the key and mechanism given to the decryptInit method.
- decryptEncrypt(Boolean) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- decryptFinal(byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method finalizes a decryption operation and returns the final result.
- decryptInit(Mechanism, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Initializes a new decryption operation.
- decryptSingle(Mechanism, long, byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
- decryptSingle(Mechanism, long, byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
- decryptUpdate(byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to decrypt multiple pieces of data; e.g.
- decryptUpdate(byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to decrypt multiple pieces of data; e.g.
- defaultCmsAttributes() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- defaultCmsAttributes(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- derive() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- derive(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- derive(Boolean) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- derive() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- deriveKey(Mechanism, long, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Derives a new key from a specified base key using the given mechanism.
- deriveKey(Mechanism, long, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.Session
-
Derives a new key from a specified base key using the given mechanism.
- deriveTemplate() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- deriveTemplate(AttributeVector) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- destroyable() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- destroyable(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- destroyObject(long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Destroy a certain object on the token (or in the session).
- destroyObject(long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Destroy a certain object on the token (or in the session).
- destroyObjects(long...) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Destroy a certain object on the token (or in the session).
- destroyObjects(List<Long>) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- digest(Mechanism, byte[]) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Digests the given data with the mechanism.
- digest(Mechanism, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Digests the given data with the mechanism.
- digest(Mechanism, InputStream) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Digests the large data with the mechanism.
- digest(byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Digests the given data with the mechanism given to the digestInit method.
- digest(byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
Digests the given data with the mechanism given to the digestInit method.
- digestFinal(byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Digests the given data with the mechanism given to the digestInit method.
- digestFinal(byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
Digests the given data with the mechanism given to the digestInit method.
- digestFinal(byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method finalizes a digesting operation and returns the final result.
- digestInit(Mechanism) - Method in class org.xipki.pkcs11.wrapper.Session
-
Initializes a new digesting operation.
- digestKey(Mechanism, long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Digests the given key with the mechanism.
- digestKey(long) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method is similar to digestUpdate and can be combined with it during one digesting
operation.
- digestSingle(Mechanism, byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
- digestSingle(Mechanism, byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
- digestUpdate(byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to digest multiple pieces of data; e.g.
- digestUpdate(byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to digest multiple pieces of data; e.g.
- dsaBase() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- dsaPrime() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- dsaSigPlainToX962(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- dsaSigX962ToPlain(byte[], int) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- dsaSubprime() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- GCM_PARAMS - Class in org.xipki.pkcs11.wrapper.params
-
Represents the CK_GCM_PARAMS.
- GCM_PARAMS(byte[], byte[], int) - Constructor for class org.xipki.pkcs11.wrapper.params.GCM_PARAMS
-
- generateKey(Mechanism, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Generate a new secret key or a set of domain parameters.
- generateKey(Mechanism, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.Session
-
/**
Generate a new secret key or a set of domain parameters.
- generateKeyPair(Mechanism, KeyPairTemplate) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Generate a new public key - private key key-pair and use the set attributes of the template
objects for setting the attributes of the new public key and private key objects.
- generateKeyPair(Mechanism, KeyPairTemplate) - Method in class org.xipki.pkcs11.wrapper.Session
-
Generate a new public key - private key key-pair and use the set attributes of the template
objects for setting the attributes of the new public key and private key objects.
- generateRandom(int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Generates a certain number of random bytes.
- generateRandom(int, byte[]) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Generates a certain number of random bytes.
- generateRandom(int) - Method in class org.xipki.pkcs11.wrapper.Session
-
Generates a certain number of random bytes.
- generateUniqueId(AttributeVector, int, Random) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Generate a unique CKA_ID.
- genericToVendorCode(PKCS11Constants.Category, long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
- getAttribute(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getAttrValue(long, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
- getAttrValues(long, long...) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets give attributes for the given object handle.
- getAttrValues(long, List<Long>) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets give attributes for the given object handle.
- getAttrValues(long, long...) - Method in class org.xipki.pkcs11.wrapper.Session
-
- getAttrValues(long, List<Long>) - Method in class org.xipki.pkcs11.wrapper.Session
-
- getBigIntValue() - Method in class org.xipki.pkcs11.wrapper.attrs.ByteArrayAttribute
-
- getBooleanAttrValue(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getByteArrayAttrValue(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getCkAttribute() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Get the CK_ATTRIBUTE object of this Attribute that contains the attribute
type and value .
- getClass(String) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getConstructor(String, Class<?>...) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getConstructor(Class<?>, Class<?>...) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getConstructorOfCK_MECHANISM(String) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getCryptokiVersion() - Method in class org.xipki.pkcs11.wrapper.ModuleInfo
-
Get the version of PKCS#11 that this module claims to be compliant to.
- getCurveName(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getCurveNames(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getCurveOrderBitLength(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getDefaultAttrValues(long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets all attributes for the given object handle.
- getDefaultAttrValues(long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Return the default attributes, but without attributes which contain the sensitive values.
- getDefaultAttrValues(long, boolean) - Method in class org.xipki.pkcs11.wrapper.Session
-
Return the default attributes
- getDeviceError() - Method in class org.xipki.pkcs11.wrapper.SessionInfo
-
Get the current device error-code of the token.
- getEcParams(BigInteger, BigInteger) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getErrorCode() - Method in exception org.xipki.pkcs11.wrapper.PKCS11Exception
-
Returns the PKCS#11 error code.
- getErrorName() - Method in exception org.xipki.pkcs11.wrapper.PKCS11Exception
-
- getExtraParams() - Method in class org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
- getField(Class<?>, String) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getFirmwareVersion() - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
Get the version of the slot's firmware.
- getFirmwareVersion() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the version of the token's firmware.
- getFlags() - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
- getFlags() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Return the token flags.
- getFreePrivateMemory() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the amount of free memory for private objects.
- getFreePublicMemory() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the amount of free memory for public objects.
- getHandle() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getHardwareVersion() - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
Get the version of the slot's hardware.
- getHardwareVersion() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the version of the token's hardware.
- getHashAlgName(long) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getHashAlgName(long) - Static method in class org.xipki.pkcs11.wrapper.PKCS11Constants
-
- getId() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getIdHex() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getInfo() - Method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
Gets information about the module; i.e.
- getInstance(long) - Static method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
- getInstance(long, Object) - Static method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
- getInstance(String) - Static method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
Get an instance of this class by giving the name of the PKCS#11 module; e.g.
- getIntAttrValue(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getIntValue() - Method in class org.xipki.pkcs11.wrapper.attrs.LongAttribute
-
Get the int value of this attribute.
- getKey(PKCS11KeyId) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- getKey(AttributeVector) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets the
PKCS11Key of a key satisfying the given criteria.
- getKeyId(AttributeVector) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets the
PKCS11KeyId of a key satisfying the given criteria.
- getKeyType() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getLabel() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getLabel() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the label of this token.
- getLibraryDescription() - Method in class org.xipki.pkcs11.wrapper.ModuleInfo
-
Get a short description of this module.
- getLibraryVersion() - Method in class org.xipki.pkcs11.wrapper.ModuleInfo
-
Get the version of this PKCS#11 module.
- getLongAttrValue(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getMajor() - Method in class org.xipki.pkcs11.wrapper.Version
-
Get the major version number.
- getManufacturerID() - Method in class org.xipki.pkcs11.wrapper.ModuleInfo
-
Get the identifier of the manufacturer.
- getManufacturerID() - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
Get an identifier for the manufacturer of this slot.
- getManufacturerID() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the manufacturer identifier.
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.AES_CTR_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.ByteArrayParams
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.CCM_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.ECDH1_DERIVE_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.GCM_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.LongParams
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.MechanismParams
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_OAEP_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_PSS_PARAMS
-
- getMaxFieldLen() - Method in class org.xipki.pkcs11.wrapper.params.SALSA20_CHACHA20_POLY1305_PARAMS
-
- getMaxKeySize() - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
Get the maximum key length supported by this mechanism.
- getMaxPinLen() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the maximum length for the PIN.
- getMaxRwSessionCount() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the maximum allowed number of (open) concurrent read-write sessions.
- getMaxSessionCount() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the maximum allowed number of (open) concurrent sessions.
- getMechanismCode() - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
Get the code of this mechanism as defined in PKCS11Constants (of
pkcs11t.h likewise).
- getMechanismInfo(long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- getMechanismInfo(long) - Method in class org.xipki.pkcs11.wrapper.Token
-
Get more information about one supported mechanism.
- getMechanismList() - Method in class org.xipki.pkcs11.wrapper.Token
-
Get the list of mechanisms that this token supports.
- getMechanisms() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.xipki.pkcs11.wrapper.Util
-
- getMinKeySize() - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
Get the minimum key length supported by this mechanism.
- getMinor() - Method in class org.xipki.pkcs11.wrapper.Version
-
Get the minor version number.
- getMinPinLen() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the minimum length for the PIN.
- getModel() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the model of this token.
- getModule() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- getModule() - Method in class org.xipki.pkcs11.wrapper.Session
-
Get the Module which this Session object operates with.
- getModule() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Get the module that created this Slot object.
- getModuleInfo() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- getName() - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
Get the name of this mechanism.
- getNullableToken() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Get an object for handling the token that is currently present in this
slot, or null, if there is no token present.
- getObjectCLass() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getOctetsFromASN1BitString(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getOctetsFromASN1OctetString(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- getOperationState() - Method in class org.xipki.pkcs11.wrapper.Session
-
Get the current operation state.
- getParameters() - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
Get the parameters object of this mechanism.
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.AES_CTR_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.ByteArrayParams
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.CCM_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
Get this parameters object as an object of the corresponding *_PARAMS
class of the sun.security.pkcs11.wrapper package.
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.ECDH1_DERIVE_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.GCM_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.LongParams
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.MechanismParams
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_OAEP_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_PSS_PARAMS
-
- getParams() - Method in class org.xipki.pkcs11.wrapper.params.SALSA20_CHACHA20_POLY1305_PARAMS
-
Get this parameters object as an object of the CK_SALSA20_CHACHA20_POLY1305_PARAMS class.
- getPKCS11() - Method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
Gets the PKCS#11 module of the wrapper package behind this object.
- getPrefix() - Method in enum org.xipki.pkcs11.wrapper.PKCS11Constants.Category
-
- getPrivateKey() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyPair
-
Get the private key part of this key-pair.
- getPublicKey() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyPair
-
Get the public key part of this key-pair.
- getPublicKeyHandle() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- getRwSessionCount() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the current number of open read-write sessions.
- getSerialNumber() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the serial number of this token.
- getSessionCount() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the current number of open sessions.
- getSessionHandle() - Method in class org.xipki.pkcs11.wrapper.Session
-
Get the handle of this session.
- getSessionInfo() - Method in class org.xipki.pkcs11.wrapper.Session
-
Get information about this session.
- getSignedBigIntValue() - Method in class org.xipki.pkcs11.wrapper.attrs.ByteArrayAttribute
-
- getSlot() - Method in class org.xipki.pkcs11.wrapper.Token
-
Get the slot that created this Token object.
- getSlotDescription() - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
Get a short description of this slot.
- getSlotID() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Get the ID of this slot.
- getSlotInfo() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Get information about this slot object.
- getSlotList(boolean) - Method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
Gets a list of slots that can accept tokens that are compatible with this
module; e.g.
- getState() - Method in class org.xipki.pkcs11.wrapper.ConcurrentBag.BagEntry
-
- getState() - Method in class org.xipki.pkcs11.wrapper.SessionInfo
-
Get the current state of this session.
- getStringAttrValue(long) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- getStringAttrValue(long, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
- getTime() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the current time of the token's clock.
- getToken() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Get the token that created this Session object.
- getToken() - Method in class org.xipki.pkcs11.wrapper.Session
-
Get the token that created this Session object.
- getToken() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Get an object for handling the token that is currently present in this slot.
- getTokenId() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Get the token (slot) identifier of this token.
- getTokenID() - Method in class org.xipki.pkcs11.wrapper.Token
-
Get the ID of this token.
- getTokenInfo() - Method in class org.xipki.pkcs11.wrapper.Token
-
Get information about this token.
- getTotalPrivateMemory() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the total amount of memory for private objects.
- getTotalPublicMemory() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Get the total amount of memory for public objects.
- getType() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Get the PKCS#11 type of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.AttributeArrayAttribute
-
Get the attribute array value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.BooleanAttribute
-
Get the boolean value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.ByteArrayAttribute
-
Get the byte-array value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.CharArrayAttribute
-
Get the string value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.DateAttribute
-
Get the date value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.LongAttribute
-
Get the long value of this attribute.
- getValue() - Method in class org.xipki.pkcs11.wrapper.attrs.MechanismArrayAttribute
-
Get the mechanism attribute array value of this attribute as Mechanism[].
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Get a string representation of the value of this attribute.
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.AttributeArrayAttribute
-
Get a string representation of the value of this attribute.
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.BooleanAttribute
-
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.ByteArrayAttribute
-
Get a string representation of the value of this attribute.
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.CharArrayAttribute
-
Get a string representation of the value of this attribute.
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.DateAttribute
-
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.MechanismArrayAttribute
-
Get a string representation of the value of this attribute.
- getValueString() - Method in class org.xipki.pkcs11.wrapper.attrs.MechanismAttribute
-
Get a string representation of the value of this attribute.
- gost28147Params() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- gost28147Params(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- gostr3410Params() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- gostr3410Params(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- gostr3411Params() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- gostr3411Params(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- SALSA20_CHACHA20_POLY1305_PARAMS - Class in org.xipki.pkcs11.wrapper.params
-
This class encapsulates parameters for the Salsa20Chacha20 en/decryption.
- SALSA20_CHACHA20_POLY1305_PARAMS(byte[], byte[]) - Constructor for class org.xipki.pkcs11.wrapper.params.SALSA20_CHACHA20_POLY1305_PARAMS
-
Create a new Salsa20Chacha20Poly1305Parameters object with the given attributes.
- seedRandom(byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Mixes additional seeding material into the random number generator.
- sensitive() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- sensitive(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- sensitive - Variable in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
True, if this attribute is sensitive.
- sensitive(boolean) - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Set, if this attribute is sensitive in the associated object.
- sensitive() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- serialNumber() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- serialNumber(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- Session - Class in org.xipki.pkcs11.wrapper
-
Session objects are used to perform cryptographic operations on a token.
- Session(Token, long) - Constructor for class org.xipki.pkcs11.wrapper.Session
-
Constructor taking the token and the session handle.
- SessionInfo - Class in org.xipki.pkcs11.wrapper
-
An object of this class provides information about a session.
- SessionInfo(CK_SESSION_INFO) - Constructor for class org.xipki.pkcs11.wrapper.SessionInfo
-
Constructor taking a CK_SESSION_INFO object that provides the
information.
- setAttributeValues(long, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Gets all present attributes of the given template object and writes them to the object to update
on the token (or in the session).
- setAttributeValues(long, AttributeVector) - Method in class org.xipki.pkcs11.wrapper.Session
-
Gets all present attributes of the given template object and writes them to the object to update
on the token (or in the session).
- setDataLen(int) - Method in class org.xipki.pkcs11.wrapper.params.CCM_PARAMS
-
- setFlagBit(long) - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
Set the given feature flag.
- setLogger(Logger) - Static method in class org.xipki.pkcs11.wrapper.StaticLogger
-
- setMaxMessageSize(int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Sets the maximal message size sent to the PKCS#11 device in one command.
- setModule(PKCS11Module) - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
- setModule(PKCS11Module) - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
- setOperationState(byte[], long, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Sets the operation state of this session to a previously saved one.
- setPublicKeyHandle(Long) - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- setSessionHandle(long) - Method in class org.xipki.pkcs11.wrapper.Session
-
- setState(int) - Method in class org.xipki.pkcs11.wrapper.ConcurrentBag.BagEntry
-
- setTimeOutWaitNewSession(int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
- setUseUtf8Encoding(boolean) - Method in class org.xipki.pkcs11.wrapper.Slot
-
Specify, whether UTF8 character encoding shall be used for character
array attributes and PINs.
- sign() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- sign(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- sign() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- sign(Mechanism, long, byte[]) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Signs the given data with the key and mechanism.
- sign(Mechanism, long, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Signs the given data with the key and mechanism.
- sign(Mechanism, long, InputStream) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
This method can be used to sign large data.
- sign(byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Signs the given data with the key and mechanism given to the signInit method.
- signFinal() - Method in class org.xipki.pkcs11.wrapper.Session
-
This method finalizes a signing operation and returns the final result.
- signInit(Mechanism, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Initializes a new signing operation.
- signRecover() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- signRecover(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- signRecover() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- signRecover(Mechanism, long, byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Sign-recovers the given data with the key and mechanism.
- signRecover(Mechanism, long, byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Sign-recovers the given data with the key and mechanism.
- signRecover(byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
Signs the given data with the key and mechanism given to the signRecoverInit method.
- signRecover(byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
Signs the given data with the key and mechanism given to the signRecoverInit method.
- signRecoverInit(Mechanism, long) - Method in class org.xipki.pkcs11.wrapper.Session
-
Initializes a new signing operation for signing with recovery.
- signRecoverSingle(Mechanism, long, byte[], byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
- signRecoverSingle(Mechanism, long, byte[], int, int, byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
- signSingle(Mechanism, long, byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
- signUpdate(byte[]) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to sign multiple pieces of data; e.g.
- signUpdate(byte[], int, int) - Method in class org.xipki.pkcs11.wrapper.Session
-
This method can be used to sign multiple pieces of data; e.g.
- signVerify(Boolean) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- signVerifyRecover(Boolean) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- size() - Method in class org.xipki.pkcs11.wrapper.ConcurrentBag
-
Get the total number of items in the bag.
- Slot - Class in org.xipki.pkcs11.wrapper
-
Objects of this class represent slots that can accept tokens.
- Slot(PKCS11Module, long) - Constructor for class org.xipki.pkcs11.wrapper.Slot
-
The constructor that takes a reference to the module and the slot ID.
- SlotInfo - Class in org.xipki.pkcs11.wrapper
-
Objects of this call provide information about a slot.
- SlotInfo(CK_SLOT_INFO) - Constructor for class org.xipki.pkcs11.wrapper.SlotInfo
-
Constructor that takes the CK_SLOT_INFO object as given by
PKCS11.C_GetSlotInfo().
- snapshot() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- startDate() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- startDate(Instant) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- startDate(Instant) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- StaticLogger - Class in org.xipki.pkcs11.wrapper
-
A logger provide static logging-methods.
- StaticLogger() - Constructor for class org.xipki.pkcs11.wrapper.StaticLogger
-
- stringValue(String) - Method in class org.xipki.pkcs11.wrapper.attrs.CharArrayAttribute
-
Set the char-array value of this attribute.
- subject() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- subject(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- subject(byte[]) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- subprime() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- subprime(BigInteger) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- subprimeBits() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- subprimeBits(Integer) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- supportedCmsAttributes() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- supportedCmsAttributes(byte[]) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- supports(MechanismInfo) - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
Check, if this mechanism info has those flags set to true, which are set
in the given mechanism info.
- supportsMechanism(long, long) - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Returns whether the mechanism for given purpose is supported.
- toCkAttributes() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- toCkMechanism() - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.AES_CTR_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.ByteArrayParams
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.CCM_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.ECDH1_DERIVE_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.GCM_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.LongParams
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.MechanismParams
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_OAEP_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_PSS_PARAMS
-
- toCkMechanism(long) - Method in class org.xipki.pkcs11.wrapper.params.SALSA20_CHACHA20_POLY1305_PARAMS
-
- toFullHex(long) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
Converts a long value to a lower-case hexadecimal String of length 16.
- toFullHexUpper(long) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
Converts a long value to an upper-case hexadecimal String of length 16.
- toHex(byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
Converts a byte array to a hexadecimal String.
- toHex(byte[], int, int) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- token() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- token(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- token(Boolean) - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- Token - Class in org.xipki.pkcs11.wrapper
-
Objects of this class represent PKCS#11 tokens.
- Token(Slot) - Constructor for class org.xipki.pkcs11.wrapper.Token
-
The constructor that takes a reference to the module and the slot ID.
- TokenException - Exception in org.xipki.pkcs11.wrapper
-
The base class for all exceptions in this package.
- TokenException(String) - Constructor for exception org.xipki.pkcs11.wrapper.TokenException
-
Constructor taking an exception message.
- TokenException(Exception) - Constructor for exception org.xipki.pkcs11.wrapper.TokenException
-
Constructor taking another exception to wrap.
- TokenException(String, Exception) - Constructor for exception org.xipki.pkcs11.wrapper.TokenException
-
Constructor taking a message for this exception and another exception to
wrap.
- TokenInfo - Class in org.xipki.pkcs11.wrapper
-
Objects of this class provide information about a token.
- TokenInfo(CK_TOKEN_INFO) - Constructor for class org.xipki.pkcs11.wrapper.TokenInfo
-
Constructor taking CK_TOKEN_INFO as given returned by
PKCS11.C_GetTokenInfo.
- toOctetOrBitString(byte[], boolean) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- toString() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- toString(boolean, String) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- toString() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Get a string representation of this attribute.
- toString(boolean, int, String) - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-
Get a string representation of this attribute.
- toString(int) - Method in class org.xipki.pkcs11.wrapper.attrs.LongAttribute
-
Get a string representation of this attribute.
- toString(String, byte[]) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- toString() - Method in class org.xipki.pkcs11.wrapper.KeyPairTemplate
-
- toString() - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
Returns the string representation of this object.
- toString(String) - Method in class org.xipki.pkcs11.wrapper.Mechanism
-
- toString() - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
Returns the string representation of this object.
- toString(String) - Method in class org.xipki.pkcs11.wrapper.MechanismInfo
-
- toString() - Method in class org.xipki.pkcs11.wrapper.ModuleInfo
-
Returns the string representation of this object.
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.AES_CTR_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.ByteArrayParams
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.CCM_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
- toString() - Method in class org.xipki.pkcs11.wrapper.params.CkParams
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.CkParamsWithExtra
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.ECDH1_DERIVE_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.GCM_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.LongParams
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.MechanismParams
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_OAEP_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.RSA_PKCS_PSS_PARAMS
-
- toString(String) - Method in class org.xipki.pkcs11.wrapper.params.SALSA20_CHACHA20_POLY1305_PARAMS
-
- toString() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyId
-
- toString() - Method in class org.xipki.pkcs11.wrapper.PKCS11KeyPair
-
Returns a string representation of the current object.
- toString() - Method in class org.xipki.pkcs11.wrapper.PKCS11Module
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.PKCS11Token
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.Session
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.SessionInfo
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.Slot
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
Returns the string representation of this object.
- toString(String) - Method in class org.xipki.pkcs11.wrapper.SlotInfo
-
- toString() - Method in class org.xipki.pkcs11.wrapper.Token
-
Returns the string representation of this object.
- toString() - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
Returns the string representation of this object.
- toString(String) - Method in class org.xipki.pkcs11.wrapper.TokenInfo
-
- toString() - Method in class org.xipki.pkcs11.wrapper.Version
-
Returns the string representation of this object.
- toStringFlags(PKCS11Constants.Category, String, long, long...) - Static method in class org.xipki.pkcs11.wrapper.Functions
-
- trace(String, Object...) - Method in interface org.xipki.pkcs11.wrapper.Logger
-
- trace(String, Object...) - Static method in class org.xipki.pkcs11.wrapper.StaticLogger
-
- trusted() - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- trusted(Boolean) - Method in class org.xipki.pkcs11.wrapper.AttributeVector
-
- trusted() - Method in class org.xipki.pkcs11.wrapper.PKCS11Key
-
- type() - Method in class org.xipki.pkcs11.wrapper.attrs.Attribute
-