blob: 2379b00db611fa8cad7b60aba2bad98c3a3db99a [file] [log] [blame]
import BinaryKeysetReader from 'goog:tink.BinaryKeysetReader'; // from //third_party/tink/javascript:binary_reader
import KeysetHandle from 'goog:tink.KeysetHandle'; // from //third_party/tink/javascript:keyset_handle_legacy
export function deserializeNoSecretKeyset(
serializedKeyset: Uint8Array): KeysetHandle {
return KeysetHandle.readNoSecret(
BinaryKeysetReader.withUint8Array(serializedKeyset));
}