Class WrappedHybridDecrypt
- java.lang.Object
-
- com.google.crypto.tink.hybrid.internal.WrappedHybridDecrypt
-
public class WrappedHybridDecrypt extends java.lang.ObjectThe implementation ofPrimitiveWrapper<HybridDecrypt>.The returned primitive works with a keyset (rather than a single key). To decrypt, the primitive uses the prefix of the ciphertext to efficiently select the right key in the set. If the keys associated with the prefix do not work, the primitive tries all keys with
OutputPrefixType.RAW.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HybridDecryptcreate(KeysetHandleInterface keysetHandle, PrimitiveWrapper.PrimitiveFactory<HybridDecrypt> factory)
-
-
-
Method Detail
-
create
public static HybridDecrypt create(KeysetHandleInterface keysetHandle, PrimitiveWrapper.PrimitiveFactory<HybridDecrypt> factory) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-