public final class WeaveKeyId extends Object
Metode dan definisi utilitas untuk menggunakan WeaveKeyId.
Ringkasan Konstanta
| int | ClientRootKey | |
| int | FabricRootKey | |
| int | FabricSecret | |
| int | Tidak ada | |
| 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 |
Ringkasan Konstruktor Publik
Ringkasan Metode Publik
| static int |
convertToStaticAppKeyId(int keyId)
|
| static String |
describeKey(int keyId)
|
| static int |
getAppGroupMasterKeyId(int keyId)
|
| static int |
getEpochKeyId(int keyId)
|
| static int |
getKeyType(int keyId)
|
| static int |
getRootKeyId(int keyId)
|
| boolean statis |
incorporatesAppGroupMasterKey(int keyId)
|
| boolean statis |
incorporatesEpochKey(int keyId)
|
| boolean statis |
incorporatesRootKey(int keyId)
|
| boolean statis |
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)
|
| boolean statis |
usesCurrentEpochKey(int keyId)
|
Ringkasan Metode Turunan
Konstanta
public static final int ClientRootKey
Nilai Konstanta: 66560
public static final int FabricRootKey
Nilai Konstanta: 65536
public static final int FabricSecret
Nilai Konstanta: 4097
public static final int None
Nilai Konstanta: 0
public static final int ServiceRootKey
Nilai Konstanta: 67584
public static final int kKeyType_AppEpochKey
Nilai Konstanta: 135168
public static final int kKeyType_AppGroupMasterKey
Nilai Konstanta: 196608
public static final int kKeyType_AppIntermediateKey
Nilai Konstanta: 69632
public static final int kKeyType_AppRootKey
Nilai Konstanta: 65536
public static final int kKeyType_AppRotatingKey
Nilai Konstanta: 20480
public static final int kKeyType_AppStaticKey
Nilai Konstanta: 16384
public static final int kKeyType_General
Nilai Konstanta: 4096
public static final int kKeyType_None
Nilai Konstanta: 0
public static final int kKeyType_Session
Nilai Konstanta: 8192
Konstruktor Publik
public WeaveKeyId ()
Metode Publik
public static int convertToStaticAppKeyId (int keyId)
Parameter
| keyId |
|---|
public static String describeKey (int keyId)
Parameter
| keyId |
|---|
public static int getAppGroupMasterKeyId (int keyId)
Parameter
| keyId |
|---|
public static int getEpochKeyId (int keyId)
Parameter
| keyId |
|---|
public static int getKeyType (int keyId)
Parameter
| keyId |
|---|
public static int getRootKeyId (int keyId)
Parameter
| keyId |
|---|
public static boolean incorporatesAppGroupMasterKey (int keyId)
Parameter
| keyId |
|---|
public static boolean incorporatesEpochKey (int keyId)
Parameter
| keyId |
|---|
public static boolean incorporatesRootKey (int keyId)
Parameter
| keyId |
|---|
public static boolean isValid (int keyId)
Parameter
| keyId |
|---|
public static int makeAppGroupMasterKeyId (int appGroupMasterKeyLocalId)
Parameter
| appGroupMasterKeyLocalId |
|---|
public static int makeAppKeyId (int keyType, int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
Parameter
| keyType | |
|---|---|
| rootKeyId | |
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppRotatingKeyId (int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
Parameter
| rootKeyId | |
|---|---|
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppStaticKeyId (int rootKeyId, int appGroupMasterKeyId)
Parameter
| rootKeyId | |
|---|---|
| appGroupMasterKeyId |
public static int makeEpochKeyId (int epochKeyNumber)
Parameter
| epochKeyNumber |
|---|
public static int makeRootKeyId (int rootKeyNumber)
Parameter
| rootKeyNumber |
|---|
public static int updateEpochKey (int keyId, int epochKeyId)
Parameter
| keyId | |
|---|---|
| epochKeyId |
public static boolean usesCurrentEpochKey (int keyId)
Parameter
| keyId |
|---|