public interface IPKCS11Ops
Modifier and Type | Method and Description |
---|---|
void |
changeLabel(long aSessionId,
java.lang.String aOldLabel,
java.lang.String aNewLabel) |
void |
changePassword(java.lang.String aOldPass,
java.lang.String aNewPass,
long aSessionID) |
void |
changeUserPin(byte[] aSOPin,
byte[] aUserPin,
long aSessionHandle) |
void |
closeSession(long aSessionID) |
java.security.spec.KeySpec |
createKeyPair(long aSessionID,
KeyPairTemplate template) |
void |
createKeyPair(long aSessionID,
java.lang.String aKeyLabel,
java.security.spec.AlgorithmParameterSpec aParamSpec,
boolean aIsSign,
boolean aIsEncrypt) |
void |
createSecretKey(long aSessionId,
SecretKey aKey) |
void |
createSecretKey(long sessionID,
SecretKeyTemplate template) |
byte[] |
decryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
byte[] |
decryptDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aData) |
int |
deleteCertificate(long aSessionID,
java.lang.String aKeyLabel) |
void |
deletePrivateData(long aSessionID,
java.lang.String aLabel) |
void |
deletePrivateObject(long aSessionID,
java.lang.String aLabel) |
void |
deletePublicData(long aSessionID,
java.lang.String aLabel) |
void |
deletePublicObject(long aSessionID,
java.lang.String aLabel) |
byte[] |
encryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
void |
formatToken(java.lang.String aSOpin,
java.lang.String aNewPIN,
java.lang.String aLabel,
int slotID) |
java.security.KeyPair |
generateECKeyPair(long aSessionID,
java.security.spec.ECParameterSpec ecParameterSpec) |
byte[] |
generateRSAPrivateKey(long aSessionID,
int keySize) |
void |
getAttributeValue(long aSessionID,
long aObjectID,
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate) |
java.util.List<byte[]> |
getCertificates(long aSessionID) |
java.util.List<byte[]> |
getEncryptionCertificates(long aSessionID) |
java.lang.String[] |
getEncryptionKeyLabels(long aSessionID) |
long[] |
getMechanismList(long aSlotID) |
byte[] |
getModulusOfKey(long aSessionID,
long aObjID) |
long |
getObjIDFromPrivateKeyLabel(long aSessionID,
java.lang.String aLabel) |
long |
getObjIDFromPublicKeyLabel(long aSessionID,
java.lang.String aLabel) |
long |
getPrivateKeyObjIDFromCertificateSerial(long aSessionID,
byte[] aCertSerialNo) |
byte[] |
getRandomData(long aSessionID,
int aDataLength) |
sun.security.pkcs11.wrapper.CK_SESSION_INFO |
getSessionInfo(long aSessionID) |
java.util.List<byte[]> |
getSignatureCertificates(long aSessionID) |
java.lang.String[] |
getSignatureKeyLabels(long aSessionID) |
sun.security.pkcs11.wrapper.CK_SLOT_INFO |
getSlotInfo(long aSlotID) |
long[] |
getSlotList() |
sun.security.pkcs11.wrapper.CK_TOKEN_INFO |
getTokenInfo(long aSlotID) |
long[] |
getTokenPresentSlotList() |
java.util.List<tr.gov.tubitak.uekae.esya.api.common.util.bag.Pair<java.lang.Long,java.lang.String>> |
getTokenPresentSlotListWithDescription() |
byte[] |
getTokenSerialNo(long aSlotID) |
java.lang.String[] |
getUnwrapperKeyLabels(long aSessionID) |
java.lang.String[] |
getWrapperKeyLabels(long aSessionID) |
void |
importCertificate(long aSessionID,
java.lang.String aCertLabel,
java.security.cert.X509Certificate aSertifika) |
void |
importCertificateAndKey(long aSessionID,
java.lang.String aCertLabel,
java.lang.String aKeyLabel,
java.security.PrivateKey aPrivKey,
java.security.cert.X509Certificate aCert) |
boolean |
importCertificateAndKeyWithCSP(byte[] aAnahtarCifti,
int aAnahtarLen,
java.lang.String aScfname,
java.lang.String aContextName,
byte[] aPbCertData,
int aSignOrEnc) |
boolean |
importCertificateAndKeyWithCSP(byte[] aAnahtarCifti,
int aAnahtarLen,
java.lang.String aScfname,
java.lang.String aContextName,
java.security.cert.X509Certificate aPbCertData,
int aSignOrEnc) |
void |
importKeyPair(long sessionID,
KeyPairTemplate template) |
void |
importKeyPair(long aSessionID,
java.lang.String aLabel,
java.security.KeyPair aPrivKey,
byte[] aSubject,
boolean aIsSign,
boolean aIsEncrypt) |
void |
importSecretKey(long aSessionId,
SecretKey aKey) |
void |
importSecretKey(long aSessionId,
SecretKeyTemplate aKey) |
void |
initialize() |
boolean |
isAnyObjectExist(long aSessionID) |
boolean |
isCertificateExist(long aSessionID,
java.lang.String aLabel) |
boolean |
isObjectExist(long aSessionID,
java.lang.String aLabel) |
boolean |
isPrivateKeyExist(long aSessionID,
java.lang.String aLabel) |
boolean |
isPublicKeyExist(long aSessionID,
java.lang.String aLabel) |
boolean |
isTokenPresent(long aSlotID) |
void |
login(long aSessionID,
java.lang.String aCardPIN) |
void |
logout(long aSessionID) |
long[] |
objeAra(long aSessionID,
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate) |
long |
openSession(long aSlotID) |
byte[] |
readCertificate(long aSessionID,
byte[] aCertSerialNo) |
java.util.List<byte[]> |
readCertificate(long aSessionID,
java.lang.String aLabel) |
java.util.List<byte[]> |
readPrivateData(long aSessionID,
java.lang.String aLabel) |
java.util.List<byte[]> |
readPublicData(long aSessionID,
java.lang.String aLabel) |
java.security.spec.KeySpec |
readPublicKeySpec(long aSessionID,
byte[] aCertSerialNo) |
java.security.spec.KeySpec |
readPublicKeySpec(long aSessionID,
java.lang.String aLabel) |
boolean |
setContainer(byte[] aContainerLabel,
long aSessionHandle) |
void |
setSOPin(byte[] aSOPin,
byte[] aNewSOPin,
long aSessionHandle) |
byte[] |
signAndRecoverData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aImzalanacak,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
byte[] |
signData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aImzalanacak,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
byte[] |
signDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aImzalanacak) |
byte[] |
signDataWithKeyID(long aSessionID,
long aKeyID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aImzalanacak) |
void |
unwrapKey(long aSessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] certSerialNumber,
byte[] aWrappedKey,
KeyTemplate aUnwrappedKeyTemplate) |
void |
unwrapKey(long aSessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
KeyTemplate unwrapperKeyTemplate,
byte[] aWrappedKey,
KeyTemplate aUnwrappedKeyTemplate) |
void |
unwrapKey(long aSessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
java.lang.String unwrapperKeyLabel,
byte[] aWrappedKey,
KeyTemplate aUnwrappedKeyTemplate) |
void |
updatePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
void |
updatePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
byte[] |
verifyAndRecoverData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aSignature,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
void |
verifyData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
byte[] aImza,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
void |
verifyData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
byte[] aImza,
long aMechanism) |
byte[] |
wrapKey(long aSessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
KeyTemplate wrapperKeyFacade,
KeyTemplate keyFacade) |
byte[] |
wrapKey(long aSessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
java.lang.String aWrapperKeyLabel,
java.lang.String keyLabel) |
void |
writePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aData) |
void |
writePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aData) |
long[] getTokenPresentSlotList() throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
java.util.List<tr.gov.tubitak.uekae.esya.api.common.util.bag.Pair<java.lang.Long,java.lang.String>> getTokenPresentSlotListWithDescription() throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void initialize() throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
long[] getSlotList() throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.CK_SLOT_INFO getSlotInfo(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean isTokenPresent(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.CK_TOKEN_INFO getTokenInfo(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.CK_SESSION_INFO getSessionInfo(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
long[] getMechanismList(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
long openSession(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void closeSession(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void login(long aSessionID, java.lang.String aCardPIN) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void logout(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean isAnyObjectExist(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void importCertificate(long aSessionID, java.lang.String aCertLabel, java.security.cert.X509Certificate aSertifika) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void createKeyPair(long aSessionID, java.lang.String aKeyLabel, java.security.spec.AlgorithmParameterSpec aParamSpec, boolean aIsSign, boolean aIsEncrypt) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
byte[] signDataWithCertSerialNo(long aSessionID, byte[] aSerialNumber, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, byte[] aImzalanacak) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] signDataWithKeyID(long aSessionID, long aKeyID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, byte[] aImzalanacak) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] decryptDataWithCertSerialNo(long aSessionID, byte[] aSerialNumber, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, byte[] aData) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.util.List<byte[]> getCertificates(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.util.List<byte[]> getSignatureCertificates(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.util.List<byte[]> getEncryptionCertificates(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.lang.String[] getSignatureKeyLabels(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.lang.String[] getEncryptionKeyLabels(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
boolean isObjectExist(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void writePrivateData(long aSessionID, java.lang.String aLabel, byte[] aData) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void writePublicData(long aSessionID, java.lang.String aLabel, byte[] aData) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
java.util.List<byte[]> readPrivateData(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.util.List<byte[]> readPublicData(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.util.List<byte[]> readCertificate(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] readCertificate(long aSessionID, byte[] aCertSerialNo) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.security.spec.KeySpec readPublicKeySpec(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.security.spec.KeySpec readPublicKeySpec(long aSessionID, byte[] aCertSerialNo) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
long getPrivateKeyObjIDFromCertificateSerial(long aSessionID, byte[] aCertSerialNo) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
long getObjIDFromPrivateKeyLabel(long aSessionID, java.lang.String aLabel) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
long getObjIDFromPublicKeyLabel(long aSessionID, java.lang.String aLabel) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
byte[] getModulusOfKey(long aSessionID, long aObjID) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
void updatePrivateData(long aSessionID, java.lang.String aLabel, byte[] aValue) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void updatePublicData(long aSessionID, java.lang.String aLabel, byte[] aValue) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void deletePrivateObject(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void deletePublicObject(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void deletePrivateData(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void deletePublicData(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] getRandomData(long aSessionID, int aDataLength) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
byte[] getTokenSerialNo(long aSlotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
byte[] signData(long aSessionID, java.lang.String aKeyLabel, byte[] aImzalanacak, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] signAndRecoverData(long aSessionID, java.lang.String aKeyLabel, byte[] aImzalanacak, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] verifyAndRecoverData(long aSessionID, java.lang.String aKeyLabel, byte[] aSignature, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void verifyData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, byte[] aImza, long aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void verifyData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, byte[] aImza, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] encryptData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] decryptData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void importCertificateAndKey(long aSessionID, java.lang.String aCertLabel, java.lang.String aKeyLabel, java.security.PrivateKey aPrivKey, java.security.cert.X509Certificate aCert) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
void importKeyPair(long aSessionID, java.lang.String aLabel, java.security.KeyPair aPrivKey, byte[] aSubject, boolean aIsSign, boolean aIsEncrypt) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException, java.io.IOException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.io.IOException
void changePassword(java.lang.String aOldPass, java.lang.String aNewPass, long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void formatToken(java.lang.String aSOpin, java.lang.String aNewPIN, java.lang.String aLabel, int slotID) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void setSOPin(byte[] aSOPin, byte[] aNewSOPin, long aSessionHandle) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void changeUserPin(byte[] aSOPin, byte[] aUserPin, long aSessionHandle) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean setContainer(byte[] aContainerLabel, long aSessionHandle)
boolean importCertificateAndKeyWithCSP(byte[] aAnahtarCifti, int aAnahtarLen, java.lang.String aScfname, java.lang.String aContextName, java.security.cert.X509Certificate aPbCertData, int aSignOrEnc)
boolean importCertificateAndKeyWithCSP(byte[] aAnahtarCifti, int aAnahtarLen, java.lang.String aScfname, java.lang.String aContextName, byte[] aPbCertData, int aSignOrEnc)
boolean isPrivateKeyExist(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean isPublicKeyExist(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean isCertificateExist(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void createSecretKey(long aSessionId, SecretKey aKey) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void importSecretKey(long aSessionId, SecretKey aKey) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void importSecretKey(long aSessionId, SecretKeyTemplate aKey) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void changeLabel(long aSessionId, java.lang.String aOldLabel, java.lang.String aNewLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] generateRSAPrivateKey(long aSessionID, int keySize) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAException
java.security.KeyPair generateECKeyPair(long aSessionID, java.security.spec.ECParameterSpec ecParameterSpec) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAException
long[] objeAra(long aSessionID, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
void getAttributeValue(long aSessionID, long aObjectID, sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
byte[] wrapKey(long aSessionID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, java.lang.String aWrapperKeyLabel, java.lang.String keyLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] wrapKey(long aSessionID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, KeyTemplate wrapperKeyFacade, KeyTemplate keyFacade) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long aSessionID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, java.lang.String unwrapperKeyLabel, byte[] aWrappedKey, KeyTemplate aUnwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long aSessionID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, KeyTemplate unwrapperKeyTemplate, byte[] aWrappedKey, KeyTemplate aUnwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void importKeyPair(long sessionID, KeyPairTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.security.spec.KeySpec createKeyPair(long aSessionID, KeyPairTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
void createSecretKey(long sessionID, SecretKeyTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long aSessionID, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, byte[] certSerialNumber, byte[] aWrappedKey, KeyTemplate aUnwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
int deleteCertificate(long aSessionID, java.lang.String aKeyLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
java.lang.String[] getWrapperKeyLabels(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.lang.String[] getUnwrapperKeyLabels(long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
Copyright © 2025. All rights reserved.