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.PKCS11Exceptionjava.io.IOExceptionSmartCardExceptionpublic SmartCardRandom(CardType aCardType, long slotNo, int bufferSize) throws sun.security.pkcs11.wrapper.PKCS11Exception, java.io.IOException, SmartCardException
sun.security.pkcs11.wrapper.PKCS11Exceptionjava.io.IOExceptionSmartCardExceptionpublic 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.PKCS11Exceptionjava.io.IOExceptionSmartCardExceptionpublic 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.BasePRNGpublic void fillBlock()
throws tr.gov.tubitak.uekae.esya.api.common.crypto.LimitReachedException
fillBlock in class tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNGtr.gov.tubitak.uekae.esya.api.common.crypto.LimitReachedExceptionpublic SmartCard getSmartcard()
public long getSlotNo()
public java.lang.Object clone()
clone in interface tr.gov.tubitak.uekae.esya.api.common.crypto.IRandomclone in class tr.gov.tubitak.uekae.esya.api.common.crypto.BasePRNGCopyright © 2025. All rights reserved.