Preparing search index...
The search index is not available
matter.js-monorepo
matter.js-monorepo
@matter/protocol
Fabric
Class Fabric
Index
Constructors
constructor
Properties
fabric
Id
fabric
Index
identity
Protection
Key
intermediateCACert
label
node
Id
operational
Cert
operational
Id
operational
Identity
Protection
Key
root
Cert
root
Node
Id
root
Public
Key
root
Vendor
Id
Accessors
config
external
Information
persist
Callback
public
Key
Methods
add
Remove
Callback
address
Of
add
Session
delete
Remove
Callback
delete
Scoped
Cluster
Data
delete
Scoped
Cluster
Data
Value
get
All
Group
Key
Sets
get
Destination
Id
get
Group
Key
Set
get
Scoped
Cluster
Data
Keys
get
Scoped
Cluster
Data
Value
has
Scoped
Cluster
Data
Value
matches
Fabric
Id
And
Root
Public
Key
matches
Key
Pair
persist
remove
remove
Session
set
Label
set
Scoped
Cluster
Data
Value
sign
verify
Credentials
Constructors
constructor
new
Fabric
(
config
)
:
Fabric
Parameters
config
:
Config
Returns
Fabric
Properties
Readonly
fabric
Id
fabric
Id
:
FabricId
Readonly
fabric
Index
fabric
Index
:
FabricIndex
Readonly
identity
Protection
Key
identity
Protection
Key
:
Uint8Array
Readonly
intermediateCACert
intermediateCACert
:
undefined
|
Uint8Array
label
label
:
string
Readonly
node
Id
node
Id
:
NodeId
Readonly
operational
Cert
operational
Cert
:
Uint8Array
Readonly
operational
Id
operational
Id
:
Uint8Array
Readonly
operational
Identity
Protection
Key
operational
Identity
Protection
Key
:
Uint8Array
Readonly
root
Cert
root
Cert
:
Uint8Array
Readonly
root
Node
Id
root
Node
Id
:
NodeId
Readonly
root
Public
Key
root
Public
Key
:
Uint8Array
Readonly
root
Vendor
Id
root
Vendor
Id
:
VendorId
Accessors
config
get
config
(
)
:
Config
Returns
Config
external
Information
get
externalInformation
(
)
:
ExposedFabricInformation
Returns
ExposedFabricInformation
persist
Callback
set
persistCallback
(
callback
)
:
void
Parameters
callback
:
(
(
isUpdate
?:
boolean
)
=>
MaybePromise
<
void
>
)
(
isUpdate
?
)
:
MaybePromise
<
void
>
Parameters
Optional
isUpdate
:
boolean
Returns
MaybePromise
<
void
>
Returns
void
public
Key
get
publicKey
(
)
:
Uint8Array
Returns
Uint8Array
Methods
add
Remove
Callback
add
Remove
Callback
(
callback
)
:
void
Parameters
callback
:
(
(
)
=>
MaybePromise
<
void
>
)
(
)
:
MaybePromise
<
void
>
Returns
MaybePromise
<
void
>
Returns
void
address
Of
address
Of
(
nodeId
)
:
PeerAddress
Parameters
nodeId
:
NodeId
Returns
PeerAddress
add
Session
add
Session
(
session
)
:
void
Parameters
session
:
SecureSession
Returns
void
delete
Remove
Callback
delete
Remove
Callback
(
callback
)
:
void
Parameters
callback
:
(
(
)
=>
MaybePromise
<
void
>
)
(
)
:
MaybePromise
<
void
>
Returns
MaybePromise
<
void
>
Returns
void
delete
Scoped
Cluster
Data
delete
Scoped
Cluster
Data
(
cluster
)
:
undefined
|
MaybePromise
<
void
>
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
Returns
undefined
|
MaybePromise
<
void
>
delete
Scoped
Cluster
Data
Value
delete
Scoped
Cluster
Data
Value
(
cluster
,
clusterDataKey
)
:
MaybePromise
<
void
>
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
clusterDataKey
:
string
Returns
MaybePromise
<
void
>
get
All
Group
Key
Sets
get
All
Group
Key
Sets
(
)
:
TypeFromFields
<
{
epochKey0
:
FieldType
<
null
|
Uint8Array
>
;
epochKey1
:
FieldType
<
null
|
Uint8Array
>
;
epochKey2
:
FieldType
<
null
|
Uint8Array
>
;
epochStartTime0
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime1
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime2
:
FieldType
<
null
|
number
|
bigint
>
;
groupKeyMulticastPolicy
:
OptionalFieldType
<
GroupKeyManagement
.
GroupKeyMulticastPolicy
>
;
groupKeySecurityPolicy
:
FieldType
<
GroupKeyManagement
.
GroupKeySecurityPolicy
>
;
groupKeySetId
:
FieldType
<
number
>
;
}
>
[]
Returns
TypeFromFields
<
{
epochKey0
:
FieldType
<
null
|
Uint8Array
>
;
epochKey1
:
FieldType
<
null
|
Uint8Array
>
;
epochKey2
:
FieldType
<
null
|
Uint8Array
>
;
epochStartTime0
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime1
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime2
:
FieldType
<
null
|
number
|
bigint
>
;
groupKeyMulticastPolicy
:
OptionalFieldType
<
GroupKeyManagement
.
GroupKeyMulticastPolicy
>
;
groupKeySecurityPolicy
:
FieldType
<
GroupKeyManagement
.
GroupKeySecurityPolicy
>
;
groupKeySetId
:
FieldType
<
number
>
;
}
>
[]
get
Destination
Id
get
Destination
Id
(
nodeId
,
random
)
:
Uint8Array
Parameters
nodeId
:
NodeId
random
:
Uint8Array
Returns
Uint8Array
get
Group
Key
Set
get
Group
Key
Set
(
groupKeySetId
)
:
undefined
|
TypeFromFields
<
{
epochKey0
:
FieldType
<
null
|
Uint8Array
>
;
epochKey1
:
FieldType
<
null
|
Uint8Array
>
;
epochKey2
:
FieldType
<
null
|
Uint8Array
>
;
epochStartTime0
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime1
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime2
:
FieldType
<
null
|
number
|
bigint
>
;
groupKeyMulticastPolicy
:
OptionalFieldType
<
GroupKeyManagement
.
GroupKeyMulticastPolicy
>
;
groupKeySecurityPolicy
:
FieldType
<
GroupKeyManagement
.
GroupKeySecurityPolicy
>
;
groupKeySetId
:
FieldType
<
number
>
;
}
>
Parameters
groupKeySetId
:
number
Returns
undefined
|
TypeFromFields
<
{
epochKey0
:
FieldType
<
null
|
Uint8Array
>
;
epochKey1
:
FieldType
<
null
|
Uint8Array
>
;
epochKey2
:
FieldType
<
null
|
Uint8Array
>
;
epochStartTime0
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime1
:
FieldType
<
null
|
number
|
bigint
>
;
epochStartTime2
:
FieldType
<
null
|
number
|
bigint
>
;
groupKeyMulticastPolicy
:
OptionalFieldType
<
GroupKeyManagement
.
GroupKeyMulticastPolicy
>
;
groupKeySecurityPolicy
:
FieldType
<
GroupKeyManagement
.
GroupKeySecurityPolicy
>
;
groupKeySetId
:
FieldType
<
number
>
;
}
>
get
Scoped
Cluster
Data
Keys
get
Scoped
Cluster
Data
Keys
(
cluster
)
:
string
[]
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
Returns
string
[]
get
Scoped
Cluster
Data
Value
get
Scoped
Cluster
Data
Value
<
T
>
(
cluster
,
clusterDataKey
)
:
undefined
|
T
Type Parameters
T
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
clusterDataKey
:
string
Returns
undefined
|
T
has
Scoped
Cluster
Data
Value
has
Scoped
Cluster
Data
Value
(
cluster
,
clusterDataKey
)
:
boolean
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
clusterDataKey
:
string
Returns
boolean
matches
Fabric
Id
And
Root
Public
Key
matches
Fabric
Id
And
Root
Public
Key
(
fabricId
,
rootPublicKey
)
:
boolean
Parameters
fabricId
:
FabricId
rootPublicKey
:
Uint8Array
Returns
boolean
matches
Key
Pair
matches
Key
Pair
(
keyPair
)
:
boolean
Parameters
keyPair
:
Key
Returns
boolean
persist
persist
(
isUpdate
?
)
:
undefined
|
MaybePromise
<
void
>
Parameters
isUpdate
:
boolean
= true
Returns
undefined
|
MaybePromise
<
void
>
remove
remove
(
currentSessionId
?
)
:
Promise
<
void
>
Parameters
Optional
currentSessionId
:
number
Returns
Promise
<
void
>
remove
Session
remove
Session
(
session
)
:
void
Parameters
session
:
SecureSession
Returns
void
set
Label
set
Label
(
label
)
:
Promise
<
void
>
Parameters
label
:
string
Returns
Promise
<
void
>
set
Scoped
Cluster
Data
Value
set
Scoped
Cluster
Data
Value
<
T
>
(
cluster
,
clusterDataKey
,
value
)
:
undefined
|
MaybePromise
<
void
>
Type Parameters
T
Parameters
cluster
:
Cluster
<
any
,
any
,
any
,
any
,
any
>
clusterDataKey
:
string
value
:
T
Returns
undefined
|
MaybePromise
<
void
>
sign
sign
(
data
)
:
Uint8Array
Parameters
data
:
Uint8Array
Returns
Uint8Array
verify
Credentials
verify
Credentials
(
operationalCert
,
intermediateCACert
?
)
:
void
Parameters
operationalCert
:
Uint8Array
Optional
intermediateCACert
:
Uint8Array
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
fabric
Id
fabric
Index
identity
Protection
Key
intermediateCACert
label
node
Id
operational
Cert
operational
Id
operational
Identity
Protection
Key
root
Cert
root
Node
Id
root
Public
Key
root
Vendor
Id
Accessors
config
external
Information
persist
Callback
public
Key
Methods
add
Remove
Callback
address
Of
add
Session
delete
Remove
Callback
delete
Scoped
Cluster
Data
delete
Scoped
Cluster
Data
Value
get
All
Group
Key
Sets
get
Destination
Id
get
Group
Key
Set
get
Scoped
Cluster
Data
Keys
get
Scoped
Cluster
Data
Value
has
Scoped
Cluster
Data
Value
matches
Fabric
Id
And
Root
Public
Key
matches
Key
Pair
persist
remove
remove
Session
set
Label
set
Scoped
Cluster
Data
Value
sign
verify
Credentials
matter.js-monorepo
Loading...