Uses of Class
com.google.crypto.tink.util.Bytes
-
-
Uses of Bytes in com.google.crypto.tink.aead
Methods in com.google.crypto.tink.aead that return Bytes Modifier and Type Method Description abstract BytesAeadKey. getOutputPrefix()Returns aBytesinstance which is prefixed to the ciphertext.BytesAesCtrHmacAeadKey. getOutputPrefix()BytesAesEaxKey. getOutputPrefix()BytesAesGcmKey. getOutputPrefix()BytesAesGcmSivKey. getOutputPrefix()BytesChaCha20Poly1305Key. getOutputPrefix()BytesLegacyKmsAeadKey. getOutputPrefix()BytesLegacyKmsEnvelopeAeadKey. getOutputPrefix()BytesXAesGcmKey. getOutputPrefix()BytesXChaCha20Poly1305Key. getOutputPrefix() -
Uses of Bytes in com.google.crypto.tink.aead.internal
Methods in com.google.crypto.tink.aead.internal with parameters of type Bytes Modifier and Type Method Description static AeadLegacyFullAead. create(Aead rawAead, Bytes outputPrefix) -
Uses of Bytes in com.google.crypto.tink.daead
Methods in com.google.crypto.tink.daead that return Bytes Modifier and Type Method Description BytesAesSivKey. getOutputPrefix()abstract BytesDeterministicAeadKey. getOutputPrefix()Returns aBytesinstance which is prefixed to the ciphertext. -
Uses of Bytes in com.google.crypto.tink.hybrid
Methods in com.google.crypto.tink.hybrid that return Bytes Modifier and Type Method Description BytesEciesPublicKey. getOutputPrefix()BytesHpkePublicKey. getOutputPrefix()BytesHybridPrivateKey. getOutputPrefix()Returns aBytesinstance, which is prefixed to every ciphertext.abstract BytesHybridPublicKey. getOutputPrefix()Returns aBytesinstance, which is prefixed to every ciphertext.BytesHpkePublicKey. getPublicKeyBytes()BytesEciesParameters. getSalt()Gets the salt value, which defaults to null if not set.BytesEciesPublicKey. getX25519CurvePointBytes()Returns the underlying public point as EC Point in case the curve is a NIST curve.Methods in com.google.crypto.tink.hybrid with parameters of type Bytes Modifier and Type Method Description static HpkePublicKeyHpkePublicKey. create(HpkeParameters parameters, Bytes publicKeyBytes, java.lang.Integer idRequirement)Creates a new HPKE public key.static EciesPublicKeyEciesPublicKey. createForCurveX25519(EciesParameters parameters, Bytes publicPointBytes, java.lang.Integer idRequirement)Creates a new ECIES public key using Curve25519.EciesParameters.BuilderEciesParameters.Builder. setSalt(Bytes salt)Defaults to null if not set. -
Uses of Bytes in com.google.crypto.tink.hybrid.internal
Constructors in com.google.crypto.tink.hybrid.internal with parameters of type Bytes Constructor Description HpkeKemPrivateKey(Bytes serializedPrivate, Bytes serializedPublic) -
Uses of Bytes in com.google.crypto.tink.internal
Fields in com.google.crypto.tink.internal declared as Bytes Modifier and Type Field Description static BytesOutputPrefixUtil. EMPTY_PREFIXMethods in com.google.crypto.tink.internal that return Bytes Modifier and Type Method Description static BytesUtil. checkedToBytesFromPrintableAscii(java.lang.String s)Converts a stringsto a correspondingBytesobject.static BytesOutputPrefixUtil. getLegacyOutputPrefix(int keyId)BytesKeyParser. getObjectIdentifier()Returns theobjectIdentifierfor this serialization.BytesParametersParser. getObjectIdentifier()Returns theobjectIdentifierfor this serialization.BytesProtoKeySerialization. getObjectIdentifier()The object identifier.BytesProtoParametersSerialization. getObjectIdentifier()The typeUrl.BytesSerialization. getObjectIdentifier()Identifies which parsing method to use in the registry.BytesLegacyProtoKey. getOutputPrefix()static BytesOutputPrefixUtil. getTinkOutputPrefix(int keyId)static BytesUtil. toBytesFromPrintableAscii(java.lang.String s)Converts a stringsto a correspondingBytesobject.Methods in com.google.crypto.tink.internal with parameters of type Bytes Modifier and Type Method Description static <SerializationT extends Serialization>
KeyParser<SerializationT>KeyParser. create(KeyParser.KeyParsingFunction<SerializationT> function, Bytes objectIdentifier, java.lang.Class<SerializationT> serializationClass)Creates a KeyParser object.static <SerializationT extends Serialization>
ParametersParser<SerializationT>ParametersParser. create(ParametersParser.ParametersParsingFunction<SerializationT> function, Bytes objectIdentifier, java.lang.Class<SerializationT> serializationClass)Creates a ParametersParser object.PrefixMap.Builder<P>PrefixMap.Builder. put(Bytes prefix, P primitive)Adds a value for a given prefix. -
Uses of Bytes in com.google.crypto.tink.mac
Methods in com.google.crypto.tink.mac that return Bytes Modifier and Type Method Description BytesAesCmacKey. getOutputPrefix()BytesHmacKey. getOutputPrefix()abstract BytesMacKey. getOutputPrefix()Returns aBytesinstance which is prefixed to every mac tag. -
Uses of Bytes in com.google.crypto.tink.prf
Methods in com.google.crypto.tink.prf that return Bytes Modifier and Type Method Description BytesHkdfPrfParameters. getSalt()Gets the salt value, which defaults to null if not set, as per RFC 5869.Methods in com.google.crypto.tink.prf with parameters of type Bytes Modifier and Type Method Description HkdfPrfParameters.BuilderHkdfPrfParameters.Builder. setSalt(Bytes salt) -
Uses of Bytes in com.google.crypto.tink.signature
Methods in com.google.crypto.tink.signature that return Bytes Modifier and Type Method Description BytesEcdsaPublicKey. getOutputPrefix()BytesEd25519PublicKey. getOutputPrefix()BytesRsaSsaPkcs1PublicKey. getOutputPrefix()BytesRsaSsaPssPublicKey. getOutputPrefix()BytesSignaturePrivateKey. getOutputPrefix()Returns aBytesinstance which is prefixed to every signature.abstract BytesSignaturePublicKey. getOutputPrefix()Returns aBytesinstance which is prefixed to every signature.BytesEd25519PublicKey. getPublicKeyBytes()Methods in com.google.crypto.tink.signature with parameters of type Bytes Modifier and Type Method Description static Ed25519PublicKeyEd25519PublicKey. create(Ed25519Parameters.Variant variant, Bytes publicKeyBytes, java.lang.Integer idRequirement)static Ed25519PublicKeyEd25519PublicKey. create(Bytes publicKeyBytes) -
Uses of Bytes in com.google.crypto.tink.util
Methods in com.google.crypto.tink.util that return Bytes Modifier and Type Method Description static BytesBytes. copyFrom(byte[] data)static BytesBytes. copyFrom(byte[] data, int start, int len)Wrap an immutable byte array over a slice of a Bytes
-