WeaveKeyId

public final class WeaveKeyId extends Object

Méthodes et définitions utilitaires pour travailler avec les WeaveKeyIds.

Récapitulatif des constantes

int ClientRootKey
int FabricRootKey
int FabricSecret
int Aucun
int ServiceRootKey
int kKeyType_AppEpochKey
int kKeyType_AppGroupMasterKey
int kKeyType_AppIntermediateKey
int kKeyType_AppRootKey
int kKeyType_AppRotatingKey
int kKeyType_AppStaticKey
int kKeyType_General
int kKeyType_None
int kKeyType_Session

Récapitulatif des constructeurs publics

Récapitulatif des méthodes publiques

static int
static String
describeKey(int keyId)
static int
static int
getEpochKeyId(int keyId)
static int
getKeyType(int keyId)
static int
getRootKeyId(int keyId)
static boolean
static boolean
static boolean
static boolean
isValid(int keyId)
static int
makeAppGroupMasterKeyId(int appGroupMasterKeyLocalId)
static int
makeAppKeyId(int keyType, int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
static int
makeAppRotatingKeyId(int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
static int
makeAppStaticKeyId(int rootKeyId, int appGroupMasterKeyId)
static int
makeEpochKeyId(int epochKeyNumber)
static int
makeRootKeyId(int rootKeyNumber)
static int
updateEpochKey(int keyId, int epochKeyId)
static boolean

Récapitulatif des méthodes héritées

Constantes

public static final int ClientRootKey

Valeur de la constante : 66560

public static final int FabricRootKey

Valeur de la constante : 65536

public static final int FabricSecret

Valeur de la constante : 4097

public static final int None

Valeur de la constante : 0

public static final int ServiceRootKey

Valeur de la constante : 67584

public static final int kKeyType_AppEpochKey

Valeur de la constante : 135168

public static final int kKeyType_AppGroupMasterKey

Valeur de la constante : 196608

public static final int kKeyType_AppIntermediateKey

Valeur de la constante : 69632

public static final int kKeyType_AppRootKey

Valeur de la constante : 65536

public static final int kKeyType_AppRotatingKey

Valeur de la constante : 20480

public static final int kKeyType_AppStaticKey

Valeur de la constante : 16384

public static final int kKeyType_General

Valeur de la constante : 4096

public static final int kKeyType_None

Valeur de la constante : 0

public static final int kKeyType_Session

Valeur de la constante : 8192

Constructeurs publics

public WeaveKeyId ()

Méthodes publiques

public static int convertToStaticAppKeyId (int keyId)

Paramètres
keyId

public static String describeKey (int keyId)

Paramètres
keyId

public static int getAppGroupMasterKeyId (int keyId)

Paramètres
keyId

public static int getEpochKeyId (int keyId)

Paramètres
keyId

public static int getKeyType (int keyId)

Paramètres
keyId

public static int getRootKeyId (int keyId)

Paramètres
keyId

public static boolean incorporatesAppGroupMasterKey (int keyId)

Paramètres
keyId

public static boolean incorporatesEpochKey (int keyId)

Paramètres
keyId

public static boolean incorporatesRootKey (int keyId)

Paramètres
keyId

public static boolean isValid (int keyId)

Paramètres
keyId

public static int makeAppGroupMasterKeyId (int appGroupMasterKeyLocalId)

Paramètres
appGroupMasterKeyLocalId

public static int makeAppKeyId (int keyType, int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)

Paramètres
keyType
rootKeyId
epochKeyId
appGroupMasterKeyId
useCurrentEpochKey

public static int makeAppRotatingKeyId (int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)

Paramètres
rootKeyId
epochKeyId
appGroupMasterKeyId
useCurrentEpochKey

public static int makeAppStaticKeyId (int rootKeyId, int appGroupMasterKeyId)

Paramètres
rootKeyId
appGroupMasterKeyId

public static int makeEpochKeyId (int epochKeyNumber)

Paramètres
epochKeyNumber

public static int makeRootKeyId (int rootKeyNumber)

Paramètres
rootKeyNumber

public static int updateEpochKey (int keyId, int epochKeyId)

Paramètres
keyId
epochKeyId

public static boolean usesCurrentEpochKey (int keyId)

Paramètres
keyId