org.mozilla.jss.crypto

Class TokenSupplierManager

public class TokenSupplierManager extends Object

The org.mozilla.jss.provider package comes before CryptoManager in the depency list, so this class is used to allow them to access CryptoManager sneakily. When CryptoManager initializes, it registers itself as a token supplier with setTokenSupplier. Then the providers call getTokenSupplier when they need to use CryptoManager. CryptoManager implements the TokenSupplier interface.
Method Summary
static TokenSuppliergetTokenSupplier()
static voidsetTokenSupplier(TokenSupplier ts)

Method Detail

getTokenSupplier

public static TokenSupplier getTokenSupplier()

setTokenSupplier

public static void setTokenSupplier(TokenSupplier ts)