public class SmartCardRandom
extends tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNG
Constructor and Description |
---|
SmartCardRandom(CardType aCardType,
long slotNo) |
SmartCardRandom(CardType aCardType,
long slotNo,
int bufferSize) |
SmartCardRandom(CardType aCardType,
long slotNo,
int bufferSize,
java.lang.String PIN) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
fillBlock() |
int |
getRandomSize() |
long |
getSlotNo() |
SmartCard |
getSmartcard() |
void |
setRandomSize(int randomSize) |
void |
setup(java.util.Map attributes) |
public SmartCardRandom(CardType aCardType, long slotNo) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
public SmartCardRandom(CardType aCardType, long slotNo, int bufferSize) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
public SmartCardRandom(CardType aCardType, long slotNo, int bufferSize, java.lang.String PIN) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exception
java.io.IOException
SmartCardException
public int getRandomSize()
public void setRandomSize(int randomSize)
public void setup(java.util.Map attributes)
setup
in class tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNG
public void fillBlock() throws tr.gov.tubitak.uekae.esya.api.common.crypto.LimitReachedException
fillBlock
in class tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNG
tr.gov.tubitak.uekae.esya.api.common.crypto.LimitReachedException
public SmartCard getSmartcard()
public long getSlotNo()
public java.lang.Object clone()
clone
in interface tr.gov.tubitak.uekae.esya.api.common.crypto.IRandom
clone
in class tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNG
Copyright © 2025. All rights reserved.