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.PKCS11Exceptionjava.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.PKCS11Exceptionlong[] getSlotList()
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionsun.security.pkcs11.wrapper.CK_SLOT_INFO getSlotInfo(long aSlotID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionsun.security.pkcs11.wrapper.CK_SESSION_INFO getSessionInfo(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionboolean isTokenPresent(long aSlotID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionsun.security.pkcs11.wrapper.CK_TOKEN_INFO getTokenInfo(long aSlotID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionlong[] getMechanismList(long aSlotID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionlong openSession(long aSlotID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid closeSession(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid login(long aSessionID,
java.lang.String aCardPIN)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid logout(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionboolean isAnyObjectExist(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid importCertificate(long aSessionID,
java.lang.String aCertLabel,
java.security.cert.X509Certificate aSertifika)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid 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.PKCS11ExceptionSmartCardExceptionjava.io.IOExceptionjava.security.spec.KeySpec createKeyPair(long aSessionID,
KeyPairTemplate template)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException,
java.io.IOException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.io.IOExceptionbyte[] generateRSAPrivateKey(long aSessionID,
int keySize)
throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
tr.gov.tubitak.uekae.esya.api.common.ESYAExceptionjava.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.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardException@Deprecated
byte[] decryptDataWithCertSerialNo(long aSessionID,
byte[] aSerialNumber,
long aMechanism,
byte[] aData)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionjava.util.List<byte[]> getCertificates(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.util.List<byte[]> getSignatureCertificates(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.util.List<byte[]> getEncryptionCertificates(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.lang.String[] getSignatureKeyLabels(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionlong getPrivateKeyObjIDFromCertificateSerial(long aSessionID,
byte[] aCertSerialNo)
throws SmartCardException,
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardExceptionsun.security.pkcs11.wrapper.PKCS11Exceptionlong getPrivateKeyObjIDFromPrivateKeyLabel(long aSessionID,
java.lang.String aLabel)
throws SmartCardException,
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardExceptionsun.security.pkcs11.wrapper.PKCS11Exceptionlong getPublicKeyObjIDFromPublicKeyLabel(long aSessionID,
java.lang.String aLabel)
throws SmartCardException,
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardExceptionsun.security.pkcs11.wrapper.PKCS11Exceptionjava.lang.String[] getEncryptionKeyLabels(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionboolean isObjectExist(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid writePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aData)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid writePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aData)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionjava.util.List<byte[]> readPrivateData(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.util.List<byte[]> readPublicData(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionboolean isPublicKeyExist(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionboolean isPrivateKeyExist(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionboolean isCertificateExist(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionjava.util.List<byte[]> readCertificate(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] readCertificate(long aSessionID,
byte[] aCertSerialNo)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.security.spec.KeySpec readPublicKeySpec(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.security.spec.KeySpec readPublicKeySpec(long aSessionID,
byte[] aCertSerialNo)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid updatePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aValue)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid updatePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aValue)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid deletePrivateObject(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid deletePublicObject(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid deletePrivateData(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid deletePublicData(long aSessionID,
java.lang.String aLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] getRandomData(long aSessionID,
int aDataLength)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionvoid verifyData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
byte[] aSignature,
long aMechanism)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardException@Deprecated
byte[] encryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
long aMechanism)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardException@Deprecated
byte[] decryptData(long aSessionID,
java.lang.String aKeyLabel,
byte[] aData,
long aMechanism)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionvoid 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.PKCS11ExceptionSmartCardExceptionjava.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.PKCS11ExceptionSmartCardExceptionjava.io.IOExceptionvoid changePassword(java.lang.String aOldPass,
java.lang.String aNewPass,
long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid 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.PKCS11Exceptionvoid setSOPin(byte[] aSOPin,
byte[] aNewSOPin,
long aSessionHandle)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid changeUserPin(byte[] aSOPin,
byte[] aUserPin,
long aSessionHandle)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionboolean 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.PKCS11Exceptionvoid importSecretKey(long aSessionID,
SecretKey aKey)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11ExceptionCardType getKartTipi()
long[] objeAra(long aSessionID,
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid getAttributeValue(long aSessionID,
long aObjectID,
sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] aTemplate)
throws sun.security.pkcs11.wrapper.PKCS11Exception
sun.security.pkcs11.wrapper.PKCS11Exceptionvoid changeLabel(long aSessionID,
java.lang.String aOldLabel,
java.lang.String aNewLabel)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionbyte[] getModulusOfKey(long aSessionID,
long aObjID)
throws SmartCardException,
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardExceptionsun.security.pkcs11.wrapper.PKCS11Exceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionbyte[] 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.PKCS11ExceptionSmartCardExceptionvoid 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.PKCS11ExceptionSmartCardExceptionvoid 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.PKCS11ExceptionSmartCardExceptionCardType getCardType()
void importKeyPair(long sessionID,
KeyPairTemplate template)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid createSecretKey(long sessionID,
SecretKeyTemplate template)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionvoid 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.PKCS11ExceptionSmartCardExceptionboolean isSupportsWrapUnwrap(long sessionID)
java.lang.String[] getWrapperKeyLabels(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionjava.lang.String[] getUnwrapperKeyLabels(long aSessionID)
throws sun.security.pkcs11.wrapper.PKCS11Exception,
SmartCardException
sun.security.pkcs11.wrapper.PKCS11ExceptionSmartCardExceptionCopyright © 2025. All rights reserved.