| Package | Description |
|---|---|
| com.google.crypto.tink | |
| com.google.crypto.tink.signature |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryKeysetReader
A
KeysetReader that can read from some source cleartext or encrypted keysets in proto binary wire format. |
class |
JsonKeysetReader
A
KeysetReader that can read from source source cleartext or encrypted keysets in proto
JSON format. |
| Modifier and Type | Method and Description |
|---|---|
static KeysetReader |
BinaryKeysetReader.withBytes(byte[] bytes)
Static method to create a BinaryKeysetReader from a byte arrary.
|
static KeysetReader |
BinaryKeysetReader.withFile(File file)
Deprecated.
Inline the function.
|
static KeysetReader |
BinaryKeysetReader.withInputStream(InputStream stream)
Static method to create a BinaryKeysetReader from an
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
static KeysetHandle |
LegacyKeysetSerialization.parseEncryptedKeyset(KeysetReader reader,
Aead aead,
byte[] associatedData)
Parse an encrypted keyset from the reader.
|
static KeysetHandle |
LegacyKeysetSerialization.parseKeyset(KeysetReader reader,
SecretKeyAccess access)
Parse a keyset from the reader.
|
static KeysetHandle |
LegacyKeysetSerialization.parseKeysetWithoutSecret(KeysetReader reader)
Parse a KeysetHandle from the reader.
|
static KeysetHandle |
NoSecretKeysetHandle.read(KeysetReader reader)
Deprecated.
|
static KeysetHandle |
CleartextKeysetHandle.read(KeysetReader reader) |
static KeysetHandle |
KeysetHandle.read(KeysetReader reader,
Aead masterKey)
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use
LegacyKeysetSerialization for exactly the same behavior.
|
static KeysetHandle |
CleartextKeysetHandle.read(KeysetReader reader,
Map<String,String> monitoringAnnotations)
Deprecated.
Instead, use a
KeysetHandle.Builder. |
static KeysetHandle |
KeysetHandle.readNoSecret(KeysetReader reader)
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use
LegacyKeysetSerialization for exactly the same behavior.
|
static KeysetHandle |
KeysetHandle.readWithAssociatedData(KeysetReader reader,
Aead masterKey,
byte[] associatedData)
Deprecated.
New users should prefer TinkProtoKeysetFormat. Existing users can use
LegacyKeysetSerialization for exactly the same behavior.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SignaturePemKeysetReader
SignaturePemKeysetReader is a
KeysetReader that can read digital signature keys in PEM
format (RFC 7468). |
| Modifier and Type | Method and Description |
|---|---|
KeysetReader |
SignaturePemKeysetReader.Builder.build() |