Preparing search index...
The search index is not available
openac-sdk
openac-sdk
NativeBackend
Class NativeBackend
Index
Constructors
constructor
Accessors
directory
keys
Dir
keys
Exist
proofs
Exist
Methods
setup
Prepare
setup
Show
setup
prove
Prepare
prove
Show
generate
Shared
Blinds
reblind
Prepare
reblind
Show
verify
Prepare
verify
Show
run
Benchmark
prove
All
load
Artifact
save
Artifact
load
Keys
load
Proofs
Constructors
constructor
new
NativeBackend
(
config
?:
NativeBackendConfig
)
:
NativeBackend
Parameters
config
:
NativeBackendConfig
= {}
Returns
NativeBackend
Accessors
directory
get
directory
()
:
string
Returns
string
keys
Dir
get
keysDir
()
:
string
Returns
string
keys
Exist
get
keysExist
()
:
boolean
Returns
boolean
proofs
Exist
get
proofsExist
()
:
boolean
Returns
boolean
Methods
setup
Prepare
setupPrepare
(
inputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
void
>
setup
Show
setupShow
(
inputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
void
>
setup
setup
(
inputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
void
>
prove
Prepare
provePrepare
(
inputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
void
>
prove
Show
proveShow
(
inputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
void
>
generate
Shared
Blinds
generateSharedBlinds
()
:
Promise
<
void
>
Returns
Promise
<
void
>
reblind
Prepare
reblindPrepare
()
:
Promise
<
void
>
Returns
Promise
<
void
>
reblind
Show
reblindShow
()
:
Promise
<
void
>
Returns
Promise
<
void
>
verify
Prepare
verifyPrepare
()
:
Promise
<
NativeVerificationResult
>
Returns
Promise
<
NativeVerificationResult
>
verify
Show
verifyShow
()
:
Promise
<
NativeVerificationResult
>
Returns
Promise
<
NativeVerificationResult
>
run
Benchmark
runBenchmark
(
inputPath
?:
string
)
:
Promise
<
string
>
Parameters
Optional
inputPath
:
string
Returns
Promise
<
string
>
prove
All
proveAll
(
jwtInputPath
?:
string
,
showInputPath
?:
string
)
:
Promise
<
void
>
Parameters
Optional
jwtInputPath
:
string
Optional
showInputPath
:
string
Returns
Promise
<
void
>
load
Artifact
loadArtifact
(
filename
:
string
)
:
Promise
<
Uint8Array
>
Parameters
filename
:
string
Returns
Promise
<
Uint8Array
>
save
Artifact
saveArtifact
(
filename
:
string
,
data
:
Uint8Array
)
:
Promise
<
void
>
Parameters
filename
:
string
data
:
Uint8Array
Returns
Promise
<
void
>
load
Keys
loadKeys
()
:
Promise
<
KeySet
>
Returns
Promise
<
KeySet
>
load
Proofs
loadProofs
()
:
Promise
<
{
prepareProof
:
Uint8Array
;
showProof
:
Uint8Array
;
prepareInstance
:
Uint8Array
;
showInstance
:
Uint8Array
;
prepareWitness
:
Uint8Array
;
showWitness
:
Uint8Array
;
sharedBlinds
:
Uint8Array
;
}
,
>
Returns
Promise
<
{
prepareProof
:
Uint8Array
;
showProof
:
Uint8Array
;
prepareInstance
:
Uint8Array
;
showInstance
:
Uint8Array
;
prepareWitness
:
Uint8Array
;
showWitness
:
Uint8Array
;
sharedBlinds
:
Uint8Array
;
}
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
directory
keys
Dir
keys
Exist
proofs
Exist
Methods
setup
Prepare
setup
Show
setup
prove
Prepare
prove
Show
generate
Shared
Blinds
reblind
Prepare
reblind
Show
verify
Prepare
verify
Show
run
Benchmark
prove
All
load
Artifact
save
Artifact
load
Keys
load
Proofs
openac-sdk
Loading...