public final class WeaveKeyId extends Object
Metodi e definizioni di utilità per l'utilizzo di WeaveKeyIds.
Riepilogo costante
| int | ClientRootKey | |
| int | FabricRootKey | |
| int | FabricSecret | |
| int | Nessuna | |
| 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 |
Riepilogo costruttore pubblico
Riepilogo del metodo pubblico
| 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)
|
| 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)
|
Riepilogo del metodo ereditato
Costanti
public static final int ClientRootKey
Valore costante:66560
public static final int FabricRootKey
Valore costante: 65536
public static final int FabricSecret
Valore costante: 4097
public static final int None
Valore costante: 0
public static final int ServiceRootKey
Valore costante: 67584
public static final int kKeyType_AppEpochKey
Valore costante: 135168
public static final int kKeyType_AppGroupMasterKey
Valore costante: 196608
public static final int kKeyType_AppIntermediateKey
Valore costante: 69632
public static final int kKeyType_AppRootKey
Valore costante: 65536
public static final int kKeyType_AppRotatingKey
Valore costante: 20480
public static final int kKeyType_AppStaticKey
Valore costante: 16384
public static final int kKeyType_General
Valore costante: 4096
public static final int kKeyType_None
Valore costante: 0
public static final int kKeyType_Session
Valore costante:8192
Costruttori pubblici
public WeaveKeyId ()
Metodi pubblici
public static int convertToStaticAppKeyId (int keyId)
Parametri
| keyId |
|---|
public static String describeKey (int keyId)
Parametri
| keyId |
|---|
public static int getAppGroupMasterKeyId (int keyId)
Parametri
| keyId |
|---|
public static int getEpochKeyId (int keyId)
Parametri
| keyId |
|---|
public static int getKeyType (int keyId)
Parametri
| keyId |
|---|
public static int getRootKeyId (int keyId)
Parametri
| keyId |
|---|
public static boolean incorporatesAppGroupMasterKey (int keyId)
Parametri
| keyId |
|---|
public static boolean incorporatesEpochKey (int keyId)
Parametri
| keyId |
|---|
public static boolean incorporatesRootKey (int keyId)
Parametri
| keyId |
|---|
public static boolean isValid (int keyId)
Parametri
| keyId |
|---|
public static int makeAppGroupMasterKeyId (int appGroupMasterKeyLocalId)
Parametri
| appGroupMasterKeyLocalId |
|---|
public static int makeAppKeyId (int keyType, int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
Parametri
| keyType | |
|---|---|
| rootKeyId | |
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppRotatingKeyId (int rootKeyId, int epochKeyId, int appGroupMasterKeyId, boolean useCurrentEpochKey)
Parametri
| rootKeyId | |
|---|---|
| epochKeyId | |
| appGroupMasterKeyId | |
| useCurrentEpochKey |
public static int makeAppStaticKeyId (int rootKeyId, int appGroupMasterKeyId)
Parametri
| rootKeyId | |
|---|---|
| appGroupMasterKeyId |
public static int makeEpochKeyId (int epochKeyNumber)
Parametri
| epochKeyNumber |
|---|
public static int makeRootKeyId (int rootKeyNumber)
Parametri
| rootKeyNumber |
|---|
public static int updateEpochKey (int keyId, int epochKeyId)
Parametri
| keyId | |
|---|---|
| epochKeyId |
public static boolean usesCurrentEpochKey (int keyId)
Parametri
| keyId |
|---|