public interface ISmartCard
Description:
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[] |
decryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
long aMechanism)
Deprecated.
|
byte[] |
decryptDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aData) |
byte[] |
decryptDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
long aMechanism,
byte[] aData)
Deprecated.
|
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) |
byte[] |
encryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
long aMechanism)
Deprecated.
|
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) |
CardType |
getCardType() |
java.util.List<byte[]> |
getCertificates(long aSessionID) |
java.util.List<byte[]> |
getEncryptionCertificates(long aSessionID) |
java.lang.String[] |
getEncryptionKeyLabels(long aSessionID) |
CardType |
getKartTipi() |
long[] |
getMechanismList(long aSlotID) |
byte[] |
getModulusOfKey(long aSessionID,
long aObjID) |
long |
getPrivateKeyObjIDFromCertificateSerial(long aSessionID,
byte[] aCertSerialNo) |
long |
getPrivateKeyObjIDFromPrivateKeyLabel(long aSessionID,
java.lang.String aLabel) |
long |
getPublicKeyObjIDFromPublicKeyLabel(long aSessionID,
java.lang.String aLabel) |
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[] aPbCertificate,
int aSignOrEnc) |
boolean |
importCertificateAndKeyWithCSP(byte[] aAnahtarCifti,
int aAnahtarLen,
java.lang.String aScfname,
java.lang.String aContextName,
java.security.cert.X509Certificate aPbCertificate,
int aSignOrEnc) |
void |
importKeyPair(long sessionID,
KeyPairTemplate template) |
void |
importKeyPair(long aSessionID,
java.lang.String aLabel,
java.security.KeyPair aKeyPair,
byte[] aSubject,
boolean aIsSign,
boolean aIsEncrypt)
Deprecated.
|
void |
importSecretKey(long aSessionID,
SecretKey aKey) |
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 |
isSupportsWrapUnwrap(long sessionID) |
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[] |
signData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aToBeSigned,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism) |
byte[] |
signData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aToBeSigned,
long aMechanism)
Deprecated.
|
byte[] |
signDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aToBeSigned) |
byte[] |
signDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
long aMechanism,
byte[] aToBeSigned)
Deprecated.
|
byte[] |
signDataWithKeyID(long aSessionID,
long aKeyID,
sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism,
byte[] aToBeSigned) |
void |
unwrapKey(long sessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM mechanism,
byte[] certSerialNumber,
byte[] wrappedKey,
KeyTemplate unwrappedKeyTemplate) |
void |
unwrapKey(long sessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM mechanism,
KeyTemplate unwrapperKeyTemplate,
byte[] wrappedKey,
KeyTemplate unwrappedKeyTemplate) |
void |
unwrapKey(long sessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM mechanism,
java.lang.String unwrapperKeyLabel,
byte[] wrappedKey,
KeyTemplate unwrappedKeyTemplate) |
void |
updatePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
void |
updatePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
void |
verifyData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
byte[] aSignature,
long aMechanism) |
byte[] |
wrapKey(long sessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM mechanism,
KeyTemplate wrapperKeyTemplate,
KeyTemplate wrappingKeyTemplate) |
byte[] |
wrapKey(long sessionID,
sun.security.pkcs11.wrapper.CK_MECHANISM mechanism,
java.lang.String wrapperKeyLabel,
java.lang.String labelOfKeyToWrap) |
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
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
sun.security.pkcs11.wrapper.CK_SESSION_INFO getSessionInfo(long aSessionID) 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
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, SmartCardException, java.io.IOException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.io.IOException
java.security.spec.KeySpec createKeyPair(long aSessionID, KeyPairTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException, java.io.IOException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.io.IOException
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
@Deprecated byte[] signDataWithCertSerialNo(long aSessionID, byte[] aSerialNumber, long aMechanism, byte[] aToBeSigned) 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[] aToBeSigned) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] signDataWithCertSerialNo(long aSessionID, byte[] aSerialNumber, sun.security.pkcs11.wrapper.CK_MECHANISM aMechanism, byte[] aToBeSigned) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
@Deprecated byte[] decryptDataWithCertSerialNo(long aSessionID, byte[] aSerialNumber, long aMechanism, byte[] aData) 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
long getPrivateKeyObjIDFromCertificateSerial(long aSessionID, byte[] aCertSerialNo) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
long getPrivateKeyObjIDFromPrivateKeyLabel(long aSessionID, java.lang.String aLabel) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
long getPublicKeyObjIDFromPublicKeyLabel(long aSessionID, java.lang.String aLabel) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
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
boolean isPublicKeyExist(long aSessionID, java.lang.String aLabel) throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exception
boolean isPrivateKeyExist(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
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 sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
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
@Deprecated byte[] signData(long aSessionID, java.lang.String aKeyLabel, byte[] aToBeSigned, long aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] signData(long aSessionID, java.lang.String aKeyLabel, byte[] aToBeSigned, 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[] aSignature, long aMechanism) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
@Deprecated byte[] encryptData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, long 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
@Deprecated byte[] decryptData(long aSessionID, java.lang.String aKeyLabel, byte[] aData, long 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, SmartCardException, java.io.IOException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
java.io.IOException
@Deprecated void importKeyPair(long aSessionID, java.lang.String aLabel, java.security.KeyPair aKeyPair, 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 aPbCertificate, int aSignOrEnc)
boolean importCertificateAndKeyWithCSP(byte[] aAnahtarCifti, int aAnahtarLen, java.lang.String aScfname, java.lang.String aContextName, byte[] aPbCertificate, int aSignOrEnc)
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
CardType getKartTipi()
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
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[] getModulusOfKey(long aSessionID, long aObjID) throws SmartCardException, sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
byte[] wrapKey(long sessionID, sun.security.pkcs11.wrapper.CK_MECHANISM mechanism, java.lang.String wrapperKeyLabel, java.lang.String labelOfKeyToWrap) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
byte[] wrapKey(long sessionID, sun.security.pkcs11.wrapper.CK_MECHANISM mechanism, KeyTemplate wrapperKeyTemplate, KeyTemplate wrappingKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long sessionID, sun.security.pkcs11.wrapper.CK_MECHANISM mechanism, java.lang.String unwrapperKeyLabel, byte[] wrappedKey, KeyTemplate unwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long sessionID, sun.security.pkcs11.wrapper.CK_MECHANISM mechanism, KeyTemplate unwrapperKeyTemplate, byte[] wrappedKey, KeyTemplate unwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
CardType getCardType()
void importKeyPair(long sessionID, KeyPairTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void createSecretKey(long sessionID, SecretKeyTemplate template) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
void unwrapKey(long sessionID, sun.security.pkcs11.wrapper.CK_MECHANISM mechanism, byte[] certSerialNumber, byte[] wrappedKey, KeyTemplate unwrappedKeyTemplate) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
boolean isSupportsWrapUnwrap(long sessionID)
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.