Search
Preparing search index...
The search index is not available
@jolocom/sdk - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"src/interactionManager/encryptionFlow"
EncryptionFlow
Class EncryptionFlow
Hierarchy
Flow
<
EncryptionRequest
|
EncryptionResponse
>
EncryptionFlow
Index
Constructors
constructor
Properties
ctx
state
type
Methods
consume
Encryption
Request
consume
Encryption
Response
get
State
handle
Interaction
Token
Constructors
constructor
new
Encryption
Flow
(
ctx
:
Interaction
)
:
EncryptionFlow
Parameters
ctx:
Interaction
Returns
EncryptionFlow
Properties
Protected
ctx
ctx
:
Interaction
state
state
:
EncryptionFlowState
type
type
:
FlowType
= FlowType.Encrypt
Methods
consume
Encryption
Request
consume
Encryption
Request
(
token
:
EncryptionRequest
)
:
Promise
<
boolean
>
Parameters
token:
EncryptionRequest
Returns
Promise
<
boolean
>
consume
Encryption
Response
consume
Encryption
Response
(
token
:
EncryptionResponse
)
:
Promise
<
boolean
>
Parameters
token:
EncryptionResponse
Returns
Promise
<
boolean
>
get
State
get
State
(
)
:
FlowState
Returns
FlowState
handle
Interaction
Token
handle
Interaction
Token
(
token
:
EncryptionRequest
|
EncryptionResponse
, interactionType
:
string
)
:
Promise
<
boolean
>
Parameters
token:
EncryptionRequest
|
EncryptionResponse
interactionType:
string
Returns
Promise
<
boolean
>
Globals
"src/interaction
Manager/encryption
Flow"
Encryption
Flow
constructor
ctx
state
type
consume
Encryption
Request
consume
Encryption
Response
get
State
handle
Interaction
Token
Encryption
Flow
State
Generated using
TypeDoc