WeaveKeyId

public final class WeaveKeyId extends Object

WeaveKeyId を操作するためのユーティリティ メソッドと定義。

定数の概要

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
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

継承されたメソッドの概要

定数

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