1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 00:23:17 +00:00
This commit is contained in:
Bernd Schoolmann
2025-05-19 12:07:04 +02:00
parent 4c3b64006d
commit c5241759ff
8 changed files with 43 additions and 36 deletions

View File

@@ -1,13 +1,11 @@
import { SigningKeyType, UserSigningKey, VerifyingKey } from "@bitwarden/key-management";
import { SigningKey, VerifyingKey } from "@bitwarden/key-management";
export class UserSigningKeyData {
readonly keyAlgorithm: SigningKeyType;
readonly wrappedSigningKey: UserSigningKey;
readonly wrappedSigningKey: SigningKey;
readonly verifyingKey: VerifyingKey;
constructor(response: any) {
this.keyAlgorithm = response.keyAlgorithm;
this.wrappedSigningKey = new UserSigningKey(response.wrappedSigningKey);
this.wrappedSigningKey = new SigningKey(response.wrappedSigningKey);
this.verifyingKey = new VerifyingKey(response.verifyingKey);
}
}