Package com.google.crypto.tink.internal
Interface KeyParser.KeyParsingFunction
-
- Enclosing class:
- KeyParser
public static interface KeyParser.KeyParsingFunctionA function which parses a key.This interface exists only so we have a type we can reference in
KeyParser.create(com.google.crypto.tink.internal.KeyParser.KeyParsingFunction, java.lang.String). Users should not use this directly; see the explanation inKeyParser.create(com.google.crypto.tink.internal.KeyParser.KeyParsingFunction, java.lang.String).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyparseKey(ProtoKeySerialization serialization, SecretKeyAccess access)
-
-
-
Method Detail
-
parseKey
Key parseKey(ProtoKeySerialization serialization, @Nullable SecretKeyAccess access) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-