[][src]Crate sn_api

Modules

fetch
files
nrs_map
req

Request module.

resp

Response module.

wallet
xorurl

Structs

AuthGranted

It represents the authentication response.

AuthReq

Represents an authorisation request.

AuthdStatus
AuthedApp
Safe
SafeAuthdClient
SafeAuthenticator
XorName

A 256-bit number, viewed as a point in XOR space.

Enums

Error
IpcError

Ipc error.

IpcMsg

IPC message.

IpcReq

IPC request.

IpcResp

IPC response.

Keypair

Wrapper for different keypair types.

PublicKey

Wrapper for different public key types.

SecretKey

Wrapper for different secret key types.

Constants

DEFAULT_XORURL_BASE
XOR_NAME_LEN

Constant byte length of XorName.

Functions

bls_sk_from_hex
derive_location_and_keypair

Perform all derivations and seeding to deterministically obtain location and Keypair from input

derive_secrets

Derive Password, Keyword and PIN (in order).

ed_sk_from_hex
generate_network_address

Generates User's Identity for the network using supplied credentials in a deterministic way. This is similar to the username in various places.

parse_coins_amount
sk_to_hex

Type Definitions

AuthAllowPrompt
AuthedAppsList
BootstrapConfig

QuicP2P bootstrap info, shared from Authenticator to apps.

PendingAuthReqs
ProcessedEntries
Result
SafeAuthReq
SafeAuthReqId