Crate sn_api[−][src]
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 | Error type returned by the API |
| IpcError | Authd Ipc errors. |
| 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 |
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 Passphrase, Password and Salt (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 |
|
| PendingAuthReqs | |
| ProcessedEntries | |
| Result | |
| SafeAuthReq | |
| SafeAuthReqId |