Package org.mozilla.jss.crypto
Class TokenSupplierManager
- java.lang.Object
-
- org.mozilla.jss.crypto.TokenSupplierManager
-
public class TokenSupplierManager extends java.lang.ObjectThe org.mozilla.jss.provider package comes before CryptoManager in the dependency list, so this class is used to allow them to access CryptoManager sneakily. When CryptoManager initializes, it registers itself as a token supplier withsetTokenSupplier. Then the providers callgetTokenSupplierwhen they need to use CryptoManager. CryptoManager implements the TokenSupplier interface.
-
-
Constructor Summary
Constructors Constructor Description TokenSupplierManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TokenSuppliergetTokenSupplier()static voidsetTokenSupplier(TokenSupplier ts)
-
-
-
Method Detail
-
setTokenSupplier
public static void setTokenSupplier(TokenSupplier ts)
-
getTokenSupplier
public static TokenSupplier getTokenSupplier()
-
-