WeaveKeyId

public final class WeaveKeyId extends Object

Metody i definicje narzędzi do pracy z identyfikatorami WeaveKeyId.

Podsumowanie stałych

int ClientRootKey
int FabricRootKey
int FabricSecret
int Brak
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

Podsumowanie konstruktora publicznego

Podsumowanie metod publicznych

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

Podsumowanie dziedziczonej metody

Stałe

public static final int ClientRootKey

Stała wartość: 66560

public static final int FabricRootKey

Stała wartość: 65536

public static final int FabricSecret

Wartość stała: 4097

public static final int None

Wartość stała: 0

public static final int ServiceRootKey

Wartość stała: 67584

public static final int kKeyType_AppEpochKey

Wartość stała: 135168

public static final int kKeyType_AppGroupMasterKey

Stała wartość: 196608

public static final int kKeyType_AppIntermediateKey

Stała wartość: 69632

public static final int kKeyType_AppRootKey

Stała wartość: 65536

public static final int kKeyType_AppRotatingKey

Stała wartość: 20480

public static final int kKeyType_AppStaticKey

Wartość stała: 16384

public static final int kKeyType_General

Wartość stała: 4096

public static final int kKeyType_None

Wartość stała: 0

public static final int kKeyType_Session

Wartość stała: 8192

Public Constructors

public WeaveKeyId ()

Metody publiczne

public static int convertToStaticAppKeyId (int keyId)

Parametry
keyId

public static String describeKey (int keyId)

Parametry
keyId

public static int getAppGroupMasterKeyId (int keyId)

Parametry
keyId

public static int getEpochKeyId (int keyId)

Parametry
keyId

public static int getKeyType (int keyId)

Parametry
keyId

public static int getRootKeyId (int keyId)

Parametry
keyId

public static boolean incorporatesAppGroupMasterKey (int keyId)

Parametry
keyId

public static boolean incorporatesEpochKey (int keyId)

Parametry
keyId

public static boolean incorporatesRootKey (int keyId)

Parametry
keyId

public static boolean isValid (int keyId)

Parametry
keyId

public static int makeAppGroupMasterKeyId (int appGroupMasterKeyLocalId)

Parametry
appGroupMasterKeyLocalId

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

Parametry
keyType
rootKeyId
epochKeyId
appGroupMasterKeyId
useCurrentEpochKey

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

Parametry
rootKeyId
epochKeyId
appGroupMasterKeyId
useCurrentEpochKey

public static int makeAppStaticKeyId (int rootKeyId, int appGroupMasterKeyId)

Parametry
rootKeyId
appGroupMasterKeyId

public static int makeEpochKeyId (int epochKeyNumber)

Parametry
epochKeyNumber

public static int makeRootKeyId (int rootKeyNumber)

Parametry
rootKeyNumber

public static int updateEpochKey (int keyId, int epochKeyId)

Parametry
keyId
epochKeyId

public static boolean usesCurrentEpochKey (int keyId)

Parametry
keyId