@@ -42,9 +42,9 @@ export declare class SignatureScheme extends Enum {
4242 */
4343 get bit ( ) : number ;
4444 /**
45- * Returns the byte length
46- * @returns {number } The byte length, which is always 2.
47- */
45+ * Returns the byte length
46+ * @returns {number } The byte length, which is always 2.
47+ */
4848 get length ( ) : number ;
4949
5050 /**
@@ -74,12 +74,13 @@ export declare class SignatureScheme extends Enum {
7474 serverHelloMsg : Uint8Array ,
7575 encryptedExtensionsMsg : Uint8Array ,
7676 certificateMsg : Uint8Array ,
77- RSAprivateKey : CryptoKey
77+ RSAprivateKey : CryptoKey ,
7878 ) : Promise < CertificateVerify > ;
7979}
8080
8181export declare class CertificateVerify extends Uint8Array {
8282 static fromMsg ( array : Uint8Array ) : CertificateVerify ;
83+ static from ( array : Uint8Array ) : CertificateVerify ;
8384 constructor ( signatureScheme : SignatureScheme , signature : Uint8Array ) ;
8485 algorithm : SignatureScheme ;
8586 signature : Uint8Array ;
@@ -107,7 +108,7 @@ export declare function signatureFrom(
107108 encryptedExtensionsMsg : Uint8Array ,
108109 certificateMsg : Uint8Array ,
109110 RSAprivateKey : CryptoKey ,
110- algo : { name : string ; hash ?: string ; saltLength ?: number }
111+ algo : { name : string ; hash ?: string ; saltLength ?: number } ,
111112) : Promise < Uint8Array > ;
112113
113114/**
@@ -116,8 +117,10 @@ export declare function signatureFrom(
116117 * @returns The appropriate hash instance.
117118 */
118119export declare function hashFromAlgo (
119- algo : { hash ?: string ; saltLength ?: number }
120- ) : ReturnType < typeof sha256 . create | typeof sha384 . create | typeof sha512 . create > ;
120+ algo : { hash ?: string ; saltLength ?: number } ,
121+ ) : ReturnType <
122+ typeof sha256 . create | typeof sha384 . create | typeof sha512 . create
123+ > ;
121124
122125/**
123126 * Creates a Finished instance from the provided key and messages.
0 commit comments