Uses of Class
com.google.crypto.tink.Parameters
-
-
Uses of Parameters in com.google.crypto.tink
Methods in com.google.crypto.tink that return Parameters Modifier and Type Method Description abstract ParametersKey. getParameters()Returns aParametersobject containing all the information about the key which is not randomly chosen.static ParametersTinkProtoParametersFormat. parse(byte[] serializedParameters)Parses a byte[] into a Parameters object according to Tink's binary format.ParametersKeyTemplate. toParameters()Methods in com.google.crypto.tink with parameters of type Parameters Modifier and Type Method Description static KeyTemplateKeyTemplate. createFrom(Parameters p)static KeysetHandle.Builder.EntryKeysetHandle. generateEntryFromParameters(Parameters parameters)Creates a new entry with Status "ENABLED" and a new key created from the parameters.static KeysetHandleKeysetHandle. generateNew(Parameters parameters)Generates a newKeysetHandlethat contains a single fresh key generated key with the givenParametersobject.static byte[]TinkProtoParametersFormat. serialize(Parameters parameters)Serializes a Parameters object into a byte[] according to Tink's binary format. -
Uses of Parameters in com.google.crypto.tink.aead
Subclasses of Parameters in com.google.crypto.tink.aead Modifier and Type Class Description classAeadParametersRepresents a description of aAeadKeyclassAesCtrHmacAeadParametersDescribes the parameters of anAesCtrHmacAeadKey.classAesEaxParametersDescribes the parameters of anAesEaxKey.classAesGcmParametersDescribes the parameters of anAesGcmKeyclassAesGcmSivParametersDescribes the parameters of anAesGcmSivSivKeyclassChaCha20Poly1305ParametersDescribes the parameters of anChaChaPoly1305Key.classLegacyKmsAeadParametersDescribes the parameters of anKmsAeadKeyclassLegacyKmsEnvelopeAeadParametersDescribes the parameters of anLegacyKmsEnvelopeAeadKey.classXAesGcmParametersDescribes the parameters of anXAesGcmKeyclassXChaCha20Poly1305ParametersDescribes the parameters of anXChaChaPoly1305Key. -
Uses of Parameters in com.google.crypto.tink.daead
Subclasses of Parameters in com.google.crypto.tink.daead Modifier and Type Class Description classAesSivParametersDescribes the parameters of anAesSivSivKeyclassDeterministicAeadParametersRepresents a description of aDeterministicAeadKey -
Uses of Parameters in com.google.crypto.tink.hybrid
Subclasses of Parameters in com.google.crypto.tink.hybrid Modifier and Type Class Description classEciesParametersParameters for an ECIES primitive with HKDF and AEAD encryption.classHpkeParametersDescription of the parameters for anHpkePublicKeyorHpkePrivateKey.classHybridParametersRepresents a description of aHybridPrivateKeyand the correspondingHybridPublicKeyexcluding the randomly chosen key material.Methods in com.google.crypto.tink.hybrid that return Parameters Modifier and Type Method Description ParametersEciesParameters. getDemParameters()Methods in com.google.crypto.tink.hybrid with parameters of type Parameters Modifier and Type Method Description EciesParameters.BuilderEciesParameters.Builder. setDemParameters(Parameters demParameters)Current implementation only accepts certain NO_PREFIX instances of AesGcmParameters, AesCtrHmacAeadParameters, XChaCha20Poly1305Parameters or AesSivParameters. -
Uses of Parameters in com.google.crypto.tink.internal
Classes in com.google.crypto.tink.internal with type parameters of type Parameters Modifier and Type Interface Description interfaceKeyCreator<ParametersT extends Parameters>A class to create key objects from parameters.static interfaceMutableKeyDerivationRegistry.InsecureKeyCreator<ParametersT extends Parameters>A class to create key objects from parameters with given randomness.classParametersSerializer<ParametersT extends Parameters,SerializationT extends Serialization>SerializesParametersobjects intoSerializationobjects of a certain kind.static interfaceParametersSerializer.ParametersSerializationFunction<ParametersT extends Parameters,SerializationT extends Serialization>A function which serializes a Parameters object.Subclasses of Parameters in com.google.crypto.tink.internal Modifier and Type Class Description classLegacyProtoParametersImplements a Parameters object for legacy types where no actual Parameters object is present.Methods in com.google.crypto.tink.internal with type parameters of type Parameters Modifier and Type Method Description <ParametersT extends Parameters>
voidMutableKeyCreationRegistry. add(KeyCreator<ParametersT> creator, java.lang.Class<ParametersT> parametersClass)Adds a new "InsecureKeyCreator" to the instance.<ParametersT extends Parameters>
voidMutableKeyDerivationRegistry. add(MutableKeyDerivationRegistry.InsecureKeyCreator<ParametersT> creator, java.lang.Class<ParametersT> parametersClass)Adds a new "InsecureKeyCreator" to the instance.static <ParametersT extends Parameters,SerializationT extends Serialization>
ParametersSerializer<ParametersT,SerializationT>ParametersSerializer. create(ParametersSerializer.ParametersSerializationFunction<ParametersT,SerializationT> function, java.lang.Class<ParametersT> parametersClass, java.lang.Class<SerializationT> serializationClass)Creates a ParametersSerializer object.<ParametersT extends Parameters,SerializationT extends Serialization>
booleanMutableSerializationRegistry. hasSerializerForParameters(ParametersT parameters, java.lang.Class<SerializationT> serializationClass)Returns true if a parser for thisserializedKeyhas been registered.<ParametersT extends Parameters,SerializationT extends Serialization>
booleanSerializationRegistry. hasSerializerForParameters(ParametersT parameters, java.lang.Class<SerializationT> serializationClass)Returns true if a parser for thisserializedKeyhas been registered.<ParametersT extends Parameters,SerializationT extends Serialization>
voidMutableSerializationRegistry. registerParametersSerializer(ParametersSerializer<ParametersT,SerializationT> serializer)Registers a key serializer for later use inMutableSerializationRegistry.serializeKey(KeyT, java.lang.Class<SerializationT>, com.google.crypto.tink.SecretKeyAccess).<ParametersT extends Parameters,SerializationT extends Serialization>
SerializationRegistry.BuilderSerializationRegistry.Builder. registerParametersSerializer(ParametersSerializer<ParametersT,SerializationT> serializer)Registers a key serializer for later use inSerializationRegistry.serializeKey(KeyT, java.lang.Class<SerializationT>, com.google.crypto.tink.SecretKeyAccess).<ParametersT extends Parameters,SerializationT extends Serialization>
SerializationTMutableSerializationRegistry. serializeParameters(ParametersT parameters, java.lang.Class<SerializationT> serializationClass)Serializes a given Parameters object into a "SerializationT" object.<ParametersT extends Parameters,SerializationT extends Serialization>
SerializationTSerializationRegistry. serializeParameters(ParametersT parameters, java.lang.Class<SerializationT> serializationClass)Serializes a given Parameters object into a "SerializationT" object.Methods in com.google.crypto.tink.internal that return Parameters Modifier and Type Method Description ParametersMutableParametersRegistry. get(java.lang.String name)ParametersLegacyProtoKey. getParameters()Returns a LegacyParametersNotForCreation object.<SerializationT extends Serialization>
ParametersMutableSerializationRegistry. parseParameters(SerializationT serializedParameters)Parses the given serialization into a Parameters object.ParametersParametersParser.ParametersParsingFunction. parseParameters(SerializationT serialization)abstract ParametersParametersParser. parseParameters(SerializationT serialization)Parses a serialization into aParametersobject.<SerializationT extends Serialization>
ParametersSerializationRegistry. parseParameters(SerializationT serializedParameters)Parses the given serialization into a Parameters.ParametersMutableSerializationRegistry. parseParametersWithLegacyFallback(ProtoParametersSerialization protoParametersSerialization)Returns a Parameters object from a protoKeySerialization, even if no parser has been registered.Methods in com.google.crypto.tink.internal with parameters of type Parameters Modifier and Type Method Description KeyMutableKeyCreationRegistry. createKey(Parameters parameters, java.lang.Integer idRequirement)Creates aKeyfrom a givenParametersobject.KeyMutableKeyDerivationRegistry. createKeyFromRandomness(Parameters parameters, java.io.InputStream inputStream, java.lang.Integer idRequirement, SecretKeyAccess access)Creates aKeyfrom a givenParametersobject and additional data.voidMutableParametersRegistry. put(java.lang.String name, Parameters value)Method parameters in com.google.crypto.tink.internal with type arguments of type Parameters Modifier and Type Method Description voidMutableParametersRegistry. putAll(java.util.Map<java.lang.String,Parameters> values) -
Uses of Parameters in com.google.crypto.tink.jwt
Subclasses of Parameters in com.google.crypto.tink.jwt Modifier and Type Class Description classJwtEcdsaParametersDescribes the parameters of aJwtEcdsaPrivateKeyor aJwtEcdsaPublicKey.classJwtHmacParametersDescribes the parameters of aJwtHmacKey.classJwtMacParametersRepresents a description of aJwtMacKeyexcluding the randomly chosen key material.classJwtRsaSsaPkcs1ParametersDescribes the parameters of aJwtRsaSsaPkcs1PublicKeyandJwtRsaSsaPkcs1PrivateKey.classJwtRsaSsaPssParametersDescribes the parameters of aJwtRsaSsaPssPublicKeyandJwtRsaSsaPssPrivateKey.classJwtSignatureParametersRepresents a description of aJwtSignatureKeyexcluding the randomly chosen key material. -
Uses of Parameters in com.google.crypto.tink.keyderivation
Subclasses of Parameters in com.google.crypto.tink.keyderivation Modifier and Type Class Description classKeyDerivationParametersThe public part of aKeyDerivationKey.classPrfBasedKeyDerivationParametersRepresents the parameters needed in aPrfBasedKeyDerivationKey.Methods in com.google.crypto.tink.keyderivation that return Parameters Modifier and Type Method Description abstract ParametersKeyDerivationParameters. getDerivedKeyParameters()ParametersPrfBasedKeyDerivationParameters. getDerivedKeyParameters()The parameters of the keys which are in the result keyset when the user callsKeysetDeriver.deriveKeyset().Methods in com.google.crypto.tink.keyderivation with parameters of type Parameters Modifier and Type Method Description PrfBasedKeyDerivationParameters.BuilderPrfBasedKeyDerivationParameters.Builder. setDerivedKeyParameters(Parameters derivedKeyParameters)The parameters of the keys which are in the result keyset when the user callsKeysetDeriver.deriveKeyset(). -
Uses of Parameters in com.google.crypto.tink.mac
Subclasses of Parameters in com.google.crypto.tink.mac Modifier and Type Class Description classAesCmacParametersDescribes the parameters of anAesCmacKey.classHmacParametersDescribes the parameters of anHmacKey.classMacParametersRepresents a description of aMacKeyexcluding the randomly chosen key material. -
Uses of Parameters in com.google.crypto.tink.prf
Subclasses of Parameters in com.google.crypto.tink.prf Modifier and Type Class Description classAesCmacPrfParametersDescribes the parameters of anAesCmacPrfKey.classHkdfPrfParametersDescribes the parameters of anHkdfPrfKey.classHmacPrfParametersDescribes the parameters of anHmacPrfKey.classPrfParametersRepresents a description of aPrfKeyexcluding the randomly chosen key material. -
Uses of Parameters in com.google.crypto.tink.signature
Subclasses of Parameters in com.google.crypto.tink.signature Modifier and Type Class Description classEcdsaParametersDescribes the parameters of an ECDSA signature primitive.classEd25519ParametersThis class describes the parameters of anEd25519Key.classMlDsaParametersDescribes the parameters of ML-DSA signature primitive.classRsaSsaPkcs1ParametersDescribes the parameters of aRsaSsaPkcs1PublicKeyandRsaSsaPkcs1PrivateKey.classRsaSsaPssParametersDescribes the parameters of aRsaSsaPssPublicKeyandRsaSsaPssPrivateKey.classSignatureParametersRepresents a description of aSignaturePrivateKeyand the corespondingSignaturePublicKeyexcluding the randomly chosen key material. -
Uses of Parameters in com.google.crypto.tink.streamingaead
Subclasses of Parameters in com.google.crypto.tink.streamingaead Modifier and Type Class Description classAesCtrHmacStreamingParametersRepresents the parameters of aAesCtrHmacStreamingKey.classAesGcmHkdfStreamingParametersRepresents the parameters of aAesGcmHkdfStreamingKey.classStreamingAeadParametersRepresents a description of aStreamingAeadKey.
-