public final class ApplicationKeySupport extends Object
用於處理 Weave 應用程式金鑰的公用程式方法和定義。
巢狀類別摘要
介面 | ApplicationKeySupport.ConstituentKeySource |
常數摘要
int | kAppIntermediateKeySize | 衍生中繼金鑰的大小 (以位元組為單位)。 |
欄位摘要
public static final byte[] | kAppIntermediateKeyDiversifier | 用於從根金鑰和紀元金鑰衍生中繼金鑰的多元化值。 |
公用建構函式摘要
公用方法摘要
static byte[] |
deriveApplicationKey(int keyId,
ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[]
diversifier, int keyLen)
|
繼承方法摘要
常數
public static final int kAppIntermediateKeySize
衍生中繼金鑰的大小 (以位元組為單位)。
常數值: 32
欄位
public static final byte[] kAppIntermediateKeyDiversifier
用於從根金鑰和紀元金鑰衍生中繼金鑰的多元化值。
公用建構函式
public ApplicationKeySupport ()
公用方法
public static byte[] deriveApplicationKey (int keyId, ApplicationKeySupport.ConstituentKeySource keySource, byte[] salt, byte[] diversifier, int keyLen)
參數
keyId | |
---|---|
keySource | |
鹽 | |
diversifier | |
keyLen |
擲回
例外狀況 |
---|