mirror of
https://github.com/bitwarden/browser
synced 2026-02-24 00:23:17 +00:00
Cleanup
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user