Package org.mozilla.jss.crypto
Interface TokenSupplier
-
- All Known Implementing Classes:
CryptoManager
public interface TokenSupplierAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CryptoTokengetInternalCryptoToken()JSSSecureRandomgetSecureRNG()CryptoTokengetThreadToken()voidsetThreadToken(CryptoToken token)
-
-
-
Method Detail
-
getInternalCryptoToken
CryptoToken getInternalCryptoToken()
-
getSecureRNG
JSSSecureRandom getSecureRNG()
-
getThreadToken
CryptoToken getThreadToken()
-
setThreadToken
void setThreadToken(CryptoToken token)
-
-