public final class WeaveKeyId extends Object
הגדרות ושיטות עזר לעבודה עם WeaveKeyIds.
סיכום קבוע
| int | ClientRootKey | |
| int | FabricRootKey | |
| int | FabricSecret | |
| int | ללא | |
| 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 |
סיכום של קונסטרוקטורים ציבוריים
סיכום של שיטות ציבוריות
| static int |
convertToStaticAppKeyId(int keyId)
|
| מחרוזת סטטית |
describeKey(int keyId)
|
| static int |
getAppGroupMasterKeyId(int keyId)
|
| static int |
getEpochKeyId(int keyId)
|
| static int |
getKeyType(int keyId)
|
| static int |
getRootKeyId(int keyId)
|
| static boolean |
incorporatesAppGroupMasterKey(int keyId)
|
| static boolean |
incorporatesEpochKey(int keyId)
|
| static boolean |
incorporatesRootKey(int keyId)
|
| 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 |
usesCurrentEpochKey(int keyId)
|
סיכום שיטות שעברו בירושה
Constants
public static final int ClientRootKey
ערך קבוע: 66560
public static final int FabricRootKey
ערך קבוע: 65536
public static final int FabricSecret
ערך קבוע: 4097
public static final int None
ערך קבוע: 0
public static final int ServiceRootKey
ערך קבוע: 67584
public static final int kKeyType_AppEpochKey
ערך קבוע: 135168
public static final int kKeyType_AppGroupMasterKey
ערך קבוע: 196608
public static final int kKeyType_AppIntermediateKey
ערך קבוע: 69632
public static final int kKeyType_AppRootKey
ערך קבוע: 65536
public static final int kKeyType_AppRotatingKey
ערך קבוע: 20480
public static final int kKeyType_AppStaticKey
ערך קבוע: 16384
public static final int kKeyType_General
ערך קבוע: 4096
public static final int kKeyType_None
ערך קבוע: 0
public static final int kKeyType_Session
ערך קבוע: 8192
יצרנים ציבוריים
public WeaveKeyId ()
שיטות גלויות
public static int convertToStaticAppKeyId (int keyId)
פרמטרים
| keyId |
|---|
public static String describeKey (int keyId)
פרמטרים
| keyId |
|---|
public static int getAppGroupMasterKeyId (int keyId)
פרמטרים
| keyId |
|---|
public static int getEpochKeyId (int keyId)
פרמטרים
| keyId |
|---|
public static int getKeyType (int keyId)
פרמטרים
| keyId |
|---|
public static int getRootKeyId (int keyId)
פרמטרים
| keyId |
|---|
public static boolean incorporatesAppGroupMasterKey (int keyId)
פרמטרים
| keyId |
|---|
public static boolean incorporatesEpochKey (int keyId)
פרמטרים
| keyId |
|---|
public static boolean incorporatesRootKey (int keyId)
פרמטרים
| keyId |
|---|
public static boolean isValid (int keyId)
פרמטרים
| keyId |
|---|
public static int makeAppGroupMasterKeyId (int appGroupMasterKeyLocalId)
פרמטרים
| appGroupMasterKeyLocalId |
|---|
public static int makeAppKeyId (int keyType, int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
פרמטרים
| keyType | |
|---|---|
| rootKeyId | |
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppRotatingKeyId (int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
פרמטרים
| rootKeyId | |
|---|---|
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppStaticKeyId (int rootKeyId, int appGroupMasterKeyId)
פרמטרים
| rootKeyId | |
|---|---|
| appGroupMasterKeyId |
public static int makeEpochKeyId (int epochKeyNumber)
פרמטרים
| epochKeyNumber |
|---|
public static int makeRootKeyId (int rootKeyNumber)
פרמטרים
| rootKeyNumber |
|---|
public static int updateEpochKey (int keyId, int epochKeyId)
פרמטרים
| keyId | |
|---|---|
| epochKeyId |
public static boolean usesCurrentEpochKey (int keyId)
פרמטרים
| keyId |
|---|