Preparing search index...
The search index is not available
Ceramic Typescript Implementation
Ceramic Typescript Implementation
@ceramicnetwork/did-test-utils
DidTestUtils
Class DidTestUtils
Hierarchy
DidTestUtils
Index
Constructors
constructor
Properties
three
Id
Resolver
verifyJWS
Methods
api
generateDID
hash
resolution
Result
V0
resolution
Result
V1
rotating
Signer
serialize
with
Rotation
Date
Constructors
constructor
new
Did
Test
Utils
(
)
:
DidTestUtils
Returns
DidTestUtils
Properties
Static
Readonly
three
Id
Resolver
three
Id
Resolver
:
{
3
:
(
(
did
:
string
)
=>
Promise
<
DIDResolutionResult
>
)
}
= ...
Type declaration
3
:
(
(
did
:
string
)
=>
Promise
<
DIDResolutionResult
>
)
(
did
:
string
)
:
Promise
<
DIDResolutionResult
>
Parameters
did:
string
Returns
Promise
<
DIDResolutionResult
>
Static
Readonly
verifyJWS
verifyJWS
:
Mock
<
(
(
)
=>
Promise
<
VerifyJWSResult
>
)
>
= ...
Methods
Static
api
api
(
signer
:
IntoSigner
)
:
StreamReaderWriter
Parameters
signer:
IntoSigner
Returns
StreamReaderWriter
Static
generateDID
generateDID
(
opts
:
GenerateDidOpts
)
:
Promise
<
DID
>
Parameters
opts:
GenerateDidOpts
Returns
Promise
<
DID
>
Static
hash
hash
(
data
:
string
)
:
CID
<
unknown
,
number
,
number
,
Version
>
Parameters
data:
string
Returns
CID
<
unknown
,
number
,
number
,
Version
>
Static
resolution
Result
V0
resolution
Result
V0
(
did
:
string
, date
?:
string
)
:
Promise
<
DIDResolutionResult
>
Parameters
did:
string
Optional
date:
string
Returns
Promise
<
DIDResolutionResult
>
Static
resolution
Result
V1
resolution
Result
V1
(
did
:
string
, date
?:
string
)
:
Promise
<
DIDResolutionResult
>
Parameters
did:
string
Optional
date:
string
Returns
Promise
<
DIDResolutionResult
>
Static
rotating
Signer
rotating
Signer
(
opts
:
GenerateDidOpts
)
:
Promise
<
RotatingSigner
>
Parameters
opts:
GenerateDidOpts
Returns
Promise
<
RotatingSigner
>
Static
serialize
serialize
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
Static
with
Rotation
Date
with
Rotation
Date
(
signer
:
RotatingSigner
, rotateDate
:
string
)
:
void
Parameters
signer:
RotatingSigner
rotateDate:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
Ceramic
Typescript
Implementation
@ceramicnetwork/3id-
did-
resolver
@ceramicnetwork/anchor-
listener
@ceramicnetwork/anchor-
utils
@ceramicnetwork/base-
test-
utils
@ceramicnetwork/blockchain-
utils-
linking
cosmos
eosio
ethereum
filecoin
polkadot
solana
tezos
@ceramicnetwork/blockchain-
utils-
validation
@ceramicnetwork/cli
@ceramicnetwork/codecs
@ceramicnetwork/common
@ceramicnetwork/common-
test-
utils
@ceramicnetwork/core
@ceramicnetwork/did-
test-
utils
@ceramicnetwork/http-
client
@ceramicnetwork/indexing
@ceramicnetwork/ipfs-
daemon
@ceramicnetwork/ipfs-
topology
@ceramicnetwork/job-
queue
@ceramicnetwork/logger
@ceramicnetwork/pinning-
aggregation
@ceramicnetwork/pinning-
crust-
backend
@ceramicnetwork/pinning-
ipfs-
backend
@ceramicnetwork/pinning-
powergate-
backend
@ceramicnetwork/stream-
caip10-
link
@ceramicnetwork/stream-
caip10-
link-
handler
@ceramicnetwork/stream-
handler-
common
@ceramicnetwork/stream-
model
@ceramicnetwork/stream-
model-
handler
@ceramicnetwork/stream-
model-
instance
@ceramicnetwork/stream-
model-
instance-
handler
@ceramicnetwork/stream-
tile
@ceramicnetwork/stream-
tile-
handler
@ceramicnetwork/streamid
Stream
Ref
Did
Test
Utils
constructor
three
Id
Resolver
verifyJWS
api
generateDID
hash
resolution
Result
V0
resolution
Result
V1
rotating
Signer
serialize
with
Rotation
Date