Uses of Class
com.google.crypto.tink.SecretKeyAccess
-
Packages that use SecretKeyAccess Package Description com.google.crypto.tink com.google.crypto.tink.internal com.google.crypto.tink.util -
-
Uses of SecretKeyAccess in com.google.crypto.tink
Methods in com.google.crypto.tink that return SecretKeyAccess Modifier and Type Method Description static SecretKeyAccessInsecureSecretKeyAccess. get()Returns aSecretKeyAccesstoken.static SecretKeyAccessSecretKeyAccess. requireAccess(SecretKeyAccess access)Throws an exception if the passed inSecretKeyAccessis null, otherwise returns it.Methods in com.google.crypto.tink with parameters of type SecretKeyAccess Modifier and Type Method Description static KeysetHandleLegacyKeysetSerialization. parseKeyset(KeysetReader reader, SecretKeyAccess access)Parse a keyset from the reader.static KeysetHandleTinkJsonProtoKeysetFormat. parseKeyset(java.lang.String serializedKeyset, SecretKeyAccess access)static KeysetHandleTinkProtoKeysetFormat. parseKeyset(byte[] serializedKeyset, SecretKeyAccess access)static SecretKeyAccessSecretKeyAccess. requireAccess(SecretKeyAccess access)Throws an exception if the passed inSecretKeyAccessis null, otherwise returns it.static voidLegacyKeysetSerialization. serializeKeyset(KeysetHandle keysetHandle, KeysetWriter writer, SecretKeyAccess access)Serialize a keyset to the writer.static java.lang.StringTinkJsonProtoKeysetFormat. serializeKeyset(KeysetHandle keysetHandle, SecretKeyAccess access)static byte[]TinkProtoKeysetFormat. serializeKeyset(KeysetHandle keysetHandle, SecretKeyAccess access) -
Uses of SecretKeyAccess in com.google.crypto.tink.internal
Methods in com.google.crypto.tink.internal with parameters of type SecretKeyAccess Modifier and Type Method Description KeyMutableKeyDerivationRegistry. createKeyFromRandomness(Parameters parameters, java.io.InputStream inputStream, java.lang.Integer idRequirement, SecretKeyAccess access)Creates aKeyfrom a givenParametersobject and additional data.KeyMutableKeyDerivationRegistry.InsecureKeyCreator. createKeyFromRandomness(ParametersT parameters, java.io.InputStream inputStream, java.lang.Integer idRequirement, SecretKeyAccess access)ProtoKeySerializationLegacyProtoKey. getSerialization(SecretKeyAccess access)Returns the protokeyserialization with which this object was created.KeyKeyParser.KeyParsingFunction. parseKey(SerializationT serialization, SecretKeyAccess access)abstract KeyKeyParser. parseKey(SerializationT serialization, SecretKeyAccess access)Parses a serialization into a key.<SerializationT extends Serialization>
KeyMutableSerializationRegistry. parseKey(SerializationT serializedKey, SecretKeyAccess access)Parses the given serialization into a Key.<SerializationT extends Serialization>
KeySerializationRegistry. parseKey(SerializationT serializedKey, SecretKeyAccess access)Parses the given serialization into a Key.KeyMutableSerializationRegistry. parseKeyWithLegacyFallback(ProtoKeySerialization protoKeySerialization, SecretKeyAccess access)Returns a Key object from a protoKeySerialization, even if no parser has been registered.static SecretBytesUtil. readIntoSecretBytes(java.io.InputStream input, int length, SecretKeyAccess access)Readslengthnumber of bytes from theinputstream and returns it in aSecretBytesobject.SerializationTKeySerializer.KeySerializationFunction. serializeKey(KeyT key, SecretKeyAccess access)abstract SerializationTKeySerializer. serializeKey(KeyT key, SecretKeyAccess access)<KeyT extends Key,SerializationT extends Serialization>
SerializationTMutableSerializationRegistry. serializeKey(KeyT key, java.lang.Class<SerializationT> serializationClass, SecretKeyAccess access)Serializes a given Key into a "SerializationT" object.<KeyT extends Key,SerializationT extends Serialization>
SerializationTSerializationRegistry. serializeKey(KeyT key, java.lang.Class<SerializationT> serializationClass, SecretKeyAccess access)Serializes a given Key into a "SerializationT" object.Constructors in com.google.crypto.tink.internal with parameters of type SecretKeyAccess Constructor Description LegacyProtoKey(ProtoKeySerialization serialization, SecretKeyAccess access)Creates a new LegacyProtoKey object. -
Uses of SecretKeyAccess in com.google.crypto.tink.util
Methods in com.google.crypto.tink.util with parameters of type SecretKeyAccess Modifier and Type Method Description static SecretBytesSecretBytes. copyFrom(byte[] value, SecretKeyAccess access)Creates a new SecretBytes with the contents given invalue.static SecretBigIntegerSecretBigInteger. fromBigInteger(java.math.BigInteger value, SecretKeyAccess access)Creates a new SecretBigInteger with the content given invalue.java.math.BigIntegerSecretBigInteger. getBigInteger(SecretKeyAccess access)Returns the value wrapped by this object.byte[]SecretBytes. toByteArray(SecretKeyAccess access)Returns a copy of the bytes wrapped by this object.
-