mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export interface LocalSecretKeyMaterial {
|
||||
keyId: string;
|
||||
/** Exactly 32 bytes; the consumer owns and must wipe this copy. */
|
||||
key: Uint8Array;
|
||||
}
|
||||
|
||||
export interface LocalSecretKeyProvider {
|
||||
active(): Promise<LocalSecretKeyMaterial>;
|
||||
resolve(keyId: string): Promise<LocalSecretKeyMaterial | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user