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)
|
| บูลีนแบบคงที่ |
incorporatesAppGroupMasterKey(int keyId)
|
| บูลีนแบบคงที่ |
incorporatesEpochKey(int keyId)
|
| บูลีนแบบคงที่ |
incorporatesRootKey(int keyId)
|
| บูลีนแบบคงที่ |
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)
|
| บูลีนแบบคงที่ |
usesCurrentEpochKey(int keyId)
|
สรุปวิธีการที่รับช่วง
ค่าคงที่
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 Constructors
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 |
|---|