| Package | Description |
|---|---|
| com.google.crypto.tink | |
| com.google.crypto.tink.integration.android | |
| 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.
|
static KeysetReader |
BinaryKeysetReader.withInputStream(InputStream stream)
Static method to create a BinaryKeysetReader from an
InputStream. |
| Modifier and Type | Method and Description |
|---|---|
static KeysetHandle |
NoSecretKeysetHandle.read(KeysetReader reader)
Deprecated.
|
static KeysetHandle |
CleartextKeysetHandle.read(KeysetReader reader) |
static KeysetHandle |
KeysetHandle.read(KeysetReader reader,
Aead masterKey)
Tries to create a
KeysetHandle from an encrypted keyset obtained via reader. |
static KeysetHandle |
CleartextKeysetHandle.read(KeysetReader reader,
Map<String,String> monitoringAnnotations)
Creates a
KeysetHandle from a KeysetReader. |
static KeysetHandle |
KeysetHandle.readNoSecret(KeysetReader reader)
Tries to create a
KeysetHandle from a keyset, obtained via reader, which
contains no secret key material. |
static KeysetHandle |
KeysetHandle.readWithAssociatedData(KeysetReader reader,
Aead masterKey,
byte[] associatedData)
Tries to create a
KeysetHandle from an encrypted keyset obtained via reader,
using the provided associated data. |
| Modifier and Type | Class and Description |
|---|---|
class |
SharedPrefKeysetReader
A
KeysetReader that can read keysets from private shared preferences on Android. |
| 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() |