You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a SignedData value whose signer's certificate is transmitted separately so, as a workaround, I'm planning to create a temporary copy of the SignedData to add the certificate to SignedData.certificates before calling verify().
However, this is bit of a hack, so I was wondering if you'd welcome a PR to optionally take the signer's certificate from the arguments passed to verify()?
I think there are two ways to do this:
Plan A: Introducing an additionalCertificates: CertificateSetItem[] parameter, which, will be appended to SignedData.certificates. I think this is the safest approach.
Plan B: Introducing a signerCert: CertificateSetItem parameter.
The text was updated successfully, but these errors were encountered:
I have a
SignedData
value whose signer's certificate is transmitted separately so, as a workaround, I'm planning to create a temporary copy of theSignedData
to add the certificate toSignedData.certificates
before callingverify()
.However, this is bit of a hack, so I was wondering if you'd welcome a PR to optionally take the signer's certificate from the arguments passed to
verify()
?I think there are two ways to do this:
additionalCertificates: CertificateSetItem[]
parameter, which, will be appended toSignedData.certificates
. I think this is the safest approach.signerCert: CertificateSetItem
parameter.The text was updated successfully, but these errors were encountered: