IFClite TypeScript API
    Preparing search index...

    Interface KeyPair

    A live keypair. The CryptoKey objects are usable with WebCrypto.

    interface KeyPair {
        algorithm: "ed25519";
        fingerprint: string;
        label?: string;
        privateKey: CryptoKey;
        publicKey: CryptoKey;
        publicKeyBytes: Uint8Array;
    }
    Index
    algorithm: "ed25519"
    fingerprint: string

    Fingerprint of the public key. See fingerprint().

    label?: string

    Optional label that travels with the key file.

    privateKey: CryptoKey
    publicKey: CryptoKey
    publicKeyBytes: Uint8Array

    Raw 32-byte public key bytes — useful for hashing/fingerprinting.