| Package | Description |
|---|---|
| com.google.crypto.tink.internal | |
| com.google.crypto.tink.mac | |
| com.google.crypto.tink.util |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
ParametersParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
Bytes |
ProtoParametersSerialization.getObjectIdentifier()
The typeUrl.
|
Bytes |
KeyParser.getObjectIdentifier()
Returns the
objectIdentifier for this serialization. |
Bytes |
Serialization.getObjectIdentifier()
Identifies which parsing method to use in the registry.
|
Bytes |
ProtoKeySerialization.getObjectIdentifier()
The object identifier.
|
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 |
|---|---|
abstract Bytes |
MacKey.getOutputPrefix()
Returns a
Bytes instance which is prefixed to every mac tag. |
Bytes |
AesCmacKey.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
|