Interface BootstrapCrossSigningOpts

Options object for CryptoApi.bootstrapCrossSigning.

interface BootstrapCrossSigningOpts {
    authUploadDeviceSigningKeys?: UIAuthCallback<void>;
    setupNewCrossSigning?: boolean;
}

Properties

authUploadDeviceSigningKeys?: UIAuthCallback<void>

An application callback to collect the authentication data for uploading the keys. If not given, the keys will not be uploaded to the server (which seems like a bad thing?).

setupNewCrossSigning?: boolean

Optional. Reset the cross-signing keys even if keys already exist.