Package com.google.crypto.tink.subtle
Interface EngineWrapper<T>
-
- All Known Implementing Classes:
EngineWrapper.TCipher,EngineWrapper.TKeyAgreement,EngineWrapper.TKeyFactory,EngineWrapper.TKeyPairGenerator,EngineWrapper.TMac,EngineWrapper.TMessageDigest,EngineWrapper.TSignature
public interface EngineWrapper<T>Interface and its implentations to make JCE Engines have a common parent.There's no expected reason to directly import this for users of Tink, but it might be needed to implement it (say, if someone wants a new type of engine).
- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEngineWrapper.TCipherCipher wrapper.static classEngineWrapper.TKeyAgreementKeyAgreement wrapper.static classEngineWrapper.TKeyFactoryKeyFactory wrapper.static classEngineWrapper.TKeyPairGeneratorKeyPairGenerator wrapper.static classEngineWrapper.TMacMac wrapper.static classEngineWrapper.TMessageDigestMessageDigest wrapper.static classEngineWrapper.TSignatureSignature wrapper.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetInstance(java.lang.String algorithm, java.security.Provider provider)Should call T.getInstance(...).
-
-
-
Method Detail
-
getInstance
T getInstance(java.lang.String algorithm, java.security.Provider provider) throws java.security.GeneralSecurityException
Should call T.getInstance(...).- Throws:
java.security.GeneralSecurityException
-
-