org.mozilla.jss.crypto
Interface TokenSupplier

All Known Implementing Classes:
CryptoManager

public interface TokenSupplier

An interface that allows providers to access CryptoManager without actually knowing about CryptoManager. This is necessary to prevent cyclic dependencies. CryptoManager knows about the providers, so the providers can't know about CryptoManager. Instead, CryptoManager implements this interface.


Method Summary
 CryptoToken getInternalCryptoToken()
           
 JSSSecureRandom getSecureRNG()
           
 CryptoToken getThreadToken()
           
 void setThreadToken(CryptoToken token)
           
 

Method Detail

getInternalCryptoToken

CryptoToken getInternalCryptoToken()

getSecureRNG

JSSSecureRandom getSecureRNG()

getThreadToken

CryptoToken getThreadToken()

setThreadToken

void setThreadToken(CryptoToken token)