| Modifier and Type | Method and Description |
|---|---|
static GPKey |
PlaintextKeys.diversify(GPKey k,
GPSessionKeyProvider.KeyPurpose usage,
byte[] kdd,
PlaintextKeys.Diversification method) |
static GPKey |
GPData.getDefaultKey() |
GPKey |
PlaintextKeys.getKeyFor(GPSessionKeyProvider.KeyPurpose p) |
abstract GPKey |
GPSessionKeyProvider.getKeyFor(GPSessionKeyProvider.KeyPurpose p) |
| Modifier and Type | Method and Description |
|---|---|
static List<GPKey> |
GPData.get_key_template_list(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
static PlaintextKeys |
PlaintextKeys.derivedFromMasterKey(GPKey master,
PlaintextKeys.Diversification div) |
static GPKey |
PlaintextKeys.diversify(GPKey k,
GPSessionKeyProvider.KeyPurpose usage,
byte[] kdd,
PlaintextKeys.Diversification method) |
static PlaintextKeys |
PlaintextKeys.fromKeys(GPKey enc,
GPKey mac,
GPKey kek) |
static PlaintextKeys |
PlaintextKeys.fromMasterKey(GPKey master) |
static byte[] |
GPCrypto.kcv_3des(GPKey key) |
static byte[] |
GPCrypto.mac_3des_nulliv(GPKey key,
byte[] d) |
static byte[] |
GPCrypto.mac_3des(GPKey key,
byte[] text,
byte[] iv) |
static byte[] |
GPCrypto.mac_des_3des(GPKey key,
byte[] text,
byte[] iv) |
static byte[] |
GPCrypto.scp03_encrypt_key(GPKey dek,
GPKey key) |
static byte[] |
GPCrypto.scp03_kdf(GPKey key,
byte constant,
byte[] context,
int blocklen_bits) |
static byte[] |
GPCrypto.scp03_key_check_value(GPKey key) |
static byte[] |
GPCrypto.scp03_mac(GPKey key,
byte[] msg,
int lengthbits) |
| Modifier and Type | Method and Description |
|---|---|
static void |
GPData.pretty_print_key_template(List<GPKey> list,
PrintStream out) |
void |
GlobalPlatform.putKeys(List<GPKey> keys,
boolean replace) |
| Constructor and Description |
|---|
GPKey(int version,
int id,
GPKey other) |
Copyright © 2018. All rights reserved.