public class AkisOps extends PKCS11Ops
mESYAPKCS11, mPKCS11, OZET_ALICI
Modifier and Type | Method and Description |
---|---|
void |
changeUserPin(byte[] aSOPin,
byte[] aUserPin,
long aSessionID) |
void |
createKeyPair(long aSessionID,
java.lang.String aKeyLabel,
int aModulusBits,
java.math.BigInteger aPublicExponent,
boolean aIsSign,
boolean aIsEncrypt) |
void |
setSOPin(byte[] aSOPin,
byte[] aNewSOPin,
long aSessionID) |
void |
updatePrivateData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
void |
updatePublicData(long aSessionID,
java.lang.String aLabel,
byte[] aValue) |
_deleteObject, _readData, _readData, _readECPublicKeySpec, changeLabel, changePassword, changePUK, closeSession, createKeyPair, createKeyPair, createKeyPair, createKeyPairWithOutRead, createKeyPairWithOutRead, createSecretKey, createSecretKey, decryptData, decryptDataWithCertSerialNo, deleteCertificate, deletePrivateData, deletePrivateObject, deletePublicData, deletePublicObject, encryptData, formatToken, generateECKeyPair, generateRSAPrivateKey, getAttributeValue, getCertificates, getEncryptionCertificates, getEncryptionKeyLabels, getLabels, getMechanismList, getModulusOfKey, getmPKCS11, getObjIDFromPrivateKeyLabel, getObjIDFromPublicKeyLabel, getPrivateKeyObjIDFromCertificateSerial, getRandomData, getSessionInfo, getSignatureCertificates, getSignatureKeyLabels, getSlotInfo, getSlotList, getTokenInfo, getTokenPresentSlotList, getTokenPresentSlotListWithDescription, getTokenSerialNo, getUnwrapperKeyLabels, getWrapperKeyLabels, importCertificate, importCertificateAndKey, importCertificateAndKeyWithCSP, importCertificateAndKeyWithCSP, importKeyPair, importKeyPair, importKeyPair, importKeyPair, importSecretKey, importSecretKey, initialize, isAnyObjectExist, isCertificateExist, isObjectExist, isPrivateKeyExist, isPublicKeyExist, isTokenPresent, login, logout, objeAra, openSession, readCertificate, readCertificate, readPrivateData, readPublicData, readPublicKeySpec, readPublicKeySpec, setContainer, signAndRecoverData, signData, signDataWithCertSerialNo, signDataWithKeyID, toByteArray, unBlockPIN, unwrapKey, unwrapKey, unwrapKey, verifyAndRecoverData, verifyData, verifyData, wrapKey, wrapKey, writePrivateData, writePublicData
public AkisOps(CardType aCardType)
public void createKeyPair(long aSessionID, java.lang.String aKeyLabel, int aModulusBits, java.math.BigInteger aPublicExponent, boolean aIsSign, boolean aIsEncrypt) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
public void updatePrivateData(long aSessionID, java.lang.String aLabel, byte[] aValue) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
updatePrivateData
in interface IPKCS11Ops
updatePrivateData
in class PKCS11Ops
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
public void updatePublicData(long aSessionID, java.lang.String aLabel, byte[] aValue) throws sun.security.pkcs11.wrapper.PKCS11Exception, SmartCardException
updatePublicData
in interface IPKCS11Ops
updatePublicData
in class PKCS11Ops
sun.security.pkcs11.wrapper.PKCS11Exception
SmartCardException
public void changeUserPin(byte[] aSOPin, byte[] aUserPin, long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
changeUserPin
in interface IPKCS11Ops
changeUserPin
in class PKCS11Ops
sun.security.pkcs11.wrapper.PKCS11Exception
public void setSOPin(byte[] aSOPin, byte[] aNewSOPin, long aSessionID) throws sun.security.pkcs11.wrapper.PKCS11Exception
setSOPin
in interface IPKCS11Ops
setSOPin
in class PKCS11Ops
sun.security.pkcs11.wrapper.PKCS11Exception
Copyright © 2025. All rights reserved.