| Package | Description |
|---|---|
| com.google.crypto.tink.aead | |
| com.google.crypto.tink.internal | |
| com.google.crypto.tink.mac | |
| com.google.crypto.tink.prf | |
| com.google.crypto.tink.signature | |
| com.google.crypto.tink.util |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
XChaCha20Poly1305Key.getOutputPrefix() |
Bytes |
ChaCha20Poly1305Key.getOutputPrefix() |
Bytes |
AesGcmSivKey.getOutputPrefix() |
Bytes |
AesGcmKey.getOutputPrefix() |
abstract Bytes |
AeadKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to the ciphertext. |
Bytes |
AesEaxKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
ParametersParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
Bytes |
ProtoParametersSerialization.getObjectIdentifier()
The typeUrl.
|
Bytes |
ProtoKeySerialization.getObjectIdentifier()
The object identifier.
|
Bytes |
Serialization.getObjectIdentifier()
Identifies which parsing method to use in the registry.
|
Bytes |
KeyParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
static Bytes |
Util.toBytesFromPrintableAscii(String s)
Converts a string
s to a corresponding Bytes object. |
| Modifier and Type | Method and Description |
|---|---|
static <SerializationT extends Serialization> |
KeyParser.create(KeyParser.KeyParsingFunction<SerializationT> function,
Bytes objectIdentifier,
Class<SerializationT> serializationClass)
Creates a KeyParser object.
|
static <SerializationT extends Serialization> |
ParametersParser.create(ParametersParser.ParametersParsingFunction<SerializationT> function,
Bytes objectIdentifier,
Class<SerializationT> serializationClass)
Creates a ParametersParser object.
|
| Modifier and Type | Method and Description |
|---|---|
Bytes |
AesCmacKey.getOutputPrefix() |
abstract Bytes |
MacKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every mac tag. |
Bytes |
HmacKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
HkdfPrfParameters.getSalt()
Gets the salt value, which defaults to null if not set, as per RFC 5869.
|
| Modifier and Type | Method and Description |
|---|---|
HkdfPrfParameters.Builder |
HkdfPrfParameters.Builder.setSalt(Bytes salt) |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
SignaturePrivateKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every signature. |
abstract Bytes |
SignaturePublicKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every signature. |
Bytes |
EcdsaPublicKey.getOutputPrefix() |
| Modifier and Type | Method and Description |
|---|---|
static Bytes |
Bytes.copyFrom(byte[] data) |
static Bytes |
Bytes.copyFrom(byte[] data,
int start,
int len)
Wrap an immutable byte array over a slice of a Bytes
|