NLWeaveKeyIds
#include <src/device-manager/cocoa/NLWeaveKeyIds.h>
用於 C++ 語言 WeaveKeyId 功能的包裝函式。
摘要
繼承
繼承自: NSObject
公開的靜態函式 |
|
---|---|
convertToCurrentAppKeyId:(UInt32 keyId)
|
virtual UInt32
將應用程式群組金鑰 ID 轉換為應用程式目前的金鑰 ID。
|
convertToStaticAppKeyId:(UInt32 keyId)
|
virtual UInt32
|
describeKey:(UInt32 keyId)
|
virtual NSString *
|
getAppGroupLocalNumber:(UInt32 keyId)
|
virtual UInt8
取得用於取得指定應用程式金鑰的應用程式群組本機編號。
|
getAppGroupMasterKeyId:(UInt32 keyId)
|
virtual UInt32
取得用於取得指定應用程式金鑰的應用程式群組主金鑰 ID。
|
getEpochKeyId:(UInt32 keyId)
|
virtual UInt32
取得用於擷取指定應用程式金鑰的應用程式群組 Epoch 金鑰 ID。
|
getEpochKeyNumber:(UInt32 keyId)
|
virtual UInt8
取得用於取得指定應用程式金鑰的應用程式群組 Epoch 金鑰編號。
|
getRootKeyId:(UInt32 keyId)
|
virtual UInt32
取得用於取得指定應用程式金鑰的應用程式群組根金鑰 ID。
|
getRootKeyNumber:(UInt32 keyId)
|
virtual UInt8
取得用於取得指定應用程式金鑰的應用程式群組根金鑰號碼。
|
getType:(UInt32 keyId)
|
virtual UInt32
取得指定金鑰 ID 的 Weave 金鑰類型。
|
incorporatesAppGroupMasterKey:(UInt32 keyId)
|
virtual BOOL
|
incorporatesEpochKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的應用程式群組金鑰 ID 是否包含 Epoch 金鑰。
|
incorporatesRootKey:(UInt32 keyId)
|
virtual BOOL
|
isAppEpochKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為應用程式的 Epoch 金鑰類型。
|
isAppGroupMasterKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為應用程式群組主金鑰類型。
|
isAppRootKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為應用程式根金鑰類型。
|
isAppRotatingKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為應用程式旋轉類型。
|
isAppStaticKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為應用程式靜態類型。
|
isGeneralKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為一般類型。
|
isSessionKey:(UInt32 keyId)
|
virtual BOOL
判斷指定的金鑰 ID 是否為工作階段類型。
|
isValidKeyId:(UInt32 keyId)
|
virtual BOOL
|
makeAppGroupMasterKeyId:(UInt32 appGroupMasterKeyLocalId)
|
virtual UInt32
根據指定應用程式群組本機編號建構應用程式群組主金鑰 ID。
|
makeAppIntermediateKeyId:epochKeyId:useCurrentEpochKey:(UInt32 rootKeyId, UInt32 epochKeyId, BOOL useCurrentEpochKey)
|
virtual UInt32
|
makeAppKeyId:rootKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:(UInt32 keyType, UInt32 rootKeyId, UInt32 epochKeyId, UInt32 appGroupMasterKeyId, BOOL useCurrentEpochKey)
|
virtual UInt32
|
makeAppRotatingKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:(UInt32 rootKeyId, UInt32 epochKeyId, UInt32 appGroupMasterKeyId, BOOL useCurrentEpochKey)
|
virtual UInt32
|
makeAppStaticKeyId:appGroupMasterKeyId:(UInt32 rootKeyId, UInt32 appGroupMasterKeyId)
|
virtual UInt32
|
makeEpochKeyId:(UInt8 epochKeyNumber)
|
virtual UInt32
根據指定 Epoch 金鑰編號建構應用程式群組根金鑰 ID。
|
makeGeneralKeyId:(UInt16 generalKeyNumber)
|
virtual UInt16
以一般金鑰編號建構一般金鑰 ID。
|
makeRootKeyId:(UInt8 epochKeyNumber)
|
virtual UInt32
根據指定的根金鑰編號建構應用程式群組根金鑰 ID。
|
makeSessionKeyId:(UInt16 sessionKeyNumber)
|
virtual UInt16
根據指定的工作階段金鑰編號建構工作階段金鑰 ID。
|
updateEpochKeyId:epochKeyId:(UInt32 keyId, UInt32 epochKeyId)
|
virtual UInt32
|
usesCurrentEpochKey:(UInt32 keyId)
|
virtual BOOL
|
公開的靜態函式
convertToCurrentAppKeyId:
virtual UInt32 convertToCurrentAppKeyId:( UInt32 keyId )
將應用程式群組金鑰 ID 轉換為應用程式目前的金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
目前的金鑰 ID。
|
convertToStaticAppKeyId:
virtual UInt32 convertToStaticAppKeyId:( UInt32 keyId )
descriptionKey:
virtual NSString * describeKey:( UInt32 keyId )
getAppGroupLocalNumber:
virtual UInt8 getAppGroupLocalNumber:( UInt32 keyId )
取得用於取得指定應用程式金鑰的應用程式群組本機號碼。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
應用程式群組本機號碼
|
getAppGroupMasterKeyId:
virtual UInt32 getAppGroupMasterKeyId:( UInt32 keyId )
取得用於取得指定應用程式金鑰的應用程式群組主金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
應用程式群組主金鑰 ID。
|
getEpochKeyId:
virtual UInt32 getEpochKeyId:( UInt32 keyId )
取得用於擷取指定應用程式金鑰的應用程式群組 Epoch 金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
Epoch 金鑰 ID。
|
getEpochKeyNumber:
virtual UInt8 getEpochKeyNumber:( UInt32 keyId )
取得用於取得指定應用程式金鑰的應用程式群組 Epoch 金鑰編號。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
Epoch 金鑰編號。
|
getRootKeyId:
virtual UInt32 getRootKeyId:( UInt32 keyId )
取得用於取得指定應用程式金鑰的應用程式群組根金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
根金鑰 ID。
|
getRootKeyNumber:
virtual UInt8 getRootKeyNumber:( UInt32 keyId )
取得用於取得指定應用程式金鑰的應用程式群組根金鑰號碼。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
根金鑰編號。
|
getType:
virtual UInt32 getType:( UInt32 keyId )
取得指定金鑰 ID 的 Weave 金鑰類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
金鑰 ID 的類型
|
incorporatesAppGroupMasterKey:
virtual BOOL incorporatesAppGroupMasterKey:( UInt32 keyId )
incorporatesEpochKey:
virtual BOOL incorporatesEpochKey:( UInt32 keyId )
判斷指定的應用程式群組金鑰 ID 是否包含 Epoch 金鑰。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果 keyId 包含 Epoch 金鑰,則傳回 true。
|
incorporatesRootKey:
virtual BOOL incorporatesRootKey:( UInt32 keyId )
isAppEpochKey:
virtual BOOL isAppEpochKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為應用程式的 Epoch 金鑰類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果應用程式 Epoch 金鑰類型的 keyId 為 true,則傳回 true。
|
isAppGroupMasterKey:
virtual BOOL isAppGroupMasterKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為應用程式群組主金鑰類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果應用程式群組主金鑰類型的 keyId 為 true,則傳回 true。
|
isAppRootKey:
virtual BOOL isAppRootKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為應用程式根金鑰類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果應用程式根金鑰類型的 keyId 為 true,則傳回 true。
|
isAppRotatingKey:
virtual BOOL isAppRotatingKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為應用程式旋轉類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果應用程式的 keyId 屬於旋轉型別,則傳回 true。
|
isAppStaticKey:
virtual BOOL isAppStaticKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為應用程式靜態類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果應用程式靜態類型的 keyId,傳回 true。
|
isGeneralKey:
virtual BOOL isGeneralKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為一般類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果 keyId 具有「General」類型,則傳回 true。
|
isSessionKey:
virtual BOOL isSessionKey:( UInt32 keyId )
判斷指定的金鑰 ID 是否為工作階段類型。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
如果工作階段類型的 keyId,傳回 true。
|
isValidKeyId:
virtual BOOL isValidKeyId:( UInt32 keyId )
makeAppGroupMasterKeyId:
virtual UInt32 makeAppGroupMasterKeyId:( UInt32 appGroupMasterKeyLocalId )
根據指定應用程式群組本機編號建構應用程式群組主金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
應用程式群組主金鑰 ID。
|
makeAppIntermediateKeyId:epochKeyId:useCurrentEpochKey:
virtual UInt32 makeAppIntermediateKeyId:epochKeyId:useCurrentEpochKey:( UInt32 rootKeyId, UInt32 epochKeyId, BOOL useCurrentEpochKey )
makeAppKeyId:rootKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:
virtual UInt32 makeAppKeyId:rootKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:( UInt32 keyType, UInt32 rootKeyId, UInt32 epochKeyId, UInt32 appGroupMasterKeyId, BOOL useCurrentEpochKey )
makeAppRotatingKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:
virtual UInt32 makeAppRotatingKeyId:epochKeyId:appGroupMasterKeyId:useCurrentEpochKey:( UInt32 rootKeyId, UInt32 epochKeyId, UInt32 appGroupMasterKeyId, BOOL useCurrentEpochKey )
makeAppStaticKeyId:appGroupMasterKeyId:
virtual UInt32 makeAppStaticKeyId:appGroupMasterKeyId:( UInt32 rootKeyId, UInt32 appGroupMasterKeyId )
makeEpochKeyId:
virtual UInt32 makeEpochKeyId:( UInt8 epochKeyNumber )
根據指定 Epoch 金鑰編號建構應用程式群組根金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
Epoch 金鑰 ID。
|
makeGeneralKeyId:
virtual UInt16 makeGeneralKeyId:( UInt16 generalKeyNumber )
以一般金鑰編號建構一般金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
一般金鑰 ID
|
makeRootKeyId:
virtual UInt32 makeRootKeyId:( UInt8 epochKeyNumber )
根據指定的根金鑰編號建構應用程式群組根金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
根金鑰 ID。
|
makeSessionKeyId:
virtual UInt16 makeSessionKeyId:( UInt16 sessionKeyNumber )
根據指定的工作階段金鑰編號建構工作階段金鑰 ID。
詳細資料 | |||
---|---|---|---|
參數 |
|
||
傳回 |
工作階段金鑰 ID
|
updateEpochKeyId:epochKeyId:
virtual UInt32 updateEpochKeyId:epochKeyId:( UInt32 keyId, UInt32 epochKeyId )
usesCurrentEpochKey:
virtual BOOL usesCurrentEpochKey:( UInt32 keyId )