fixes
This commit is contained in:
parent
417f52359d
commit
c8f6bc0dab
10 changed files with 37 additions and 25 deletions
|
|
@ -67,6 +67,8 @@ function verifyCertificateChain(certificates: string[]) {
|
|||
const CACert = i + 1 >= certificates.length ? Cert : certificates[i + 1];
|
||||
|
||||
const certStruct = jsrsasign.ASN1HEX.getTLVbyList(certificate.hex!, 0, [0]);
|
||||
if (certStruct == null) throw new Error('certStruct is null');
|
||||
|
||||
const algorithm = certificate.getSignatureAlgorithmField();
|
||||
const signatureHex = certificate.getSignatureValueHex();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue