forge
forge copied to clipboard
A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps
Planning to use the library licensed under GNU General Public License v2.0 only (GPL-2.0) we are not doing any modifications to the source code of the library GPL, or our...
``` var md = forge.md.sha256.create() md.update(data) const hash = md.digest() ``` This gives me some weird Object. How do I get 32 bytes in Uint8Array in the most performant way?
The value field for authorityInfoAccess has two URIs (for the issuer cert and the OCSP responder), but they're interspersed with extended unicode characters (e.g. "\u0005"). I could kludge together a...
app.js错误: TypeError: Cannot read property 'crypto' of undefined at Object.t (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at e (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at Object.t (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at e (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at Object.t (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at e (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at Object.t (vendor.js?t=wechat&s=1680776449375&v=64a94e62456c2f5e6e877651680b0c61:8952) at...
Hello! I am looking for a way with client-side JS to get certificate information. Is it possible with this library?
I created a Pkcs12Asn1 that includes, when parsed and decrypted, a private key and a related certificate. The specification mentions, that the certificates are unencrypted, but it seems like I...
When the given certificate has multiple parents, parent = parents.shift(); may remove the cert from CAStore when the parent is an array of certificates. **I think it's better to clone...
According to the X.690 specification (ISO/IEC 8825-1:2021 (E)) the ASN.1 standard for `Set Of` components must be encoded in order when using DER: >11 Restrictions on BER employed by both...
Can you let me know how can we sign csr with HSM. I always get signature invalid when i try to decode the CSR. Code of csr generation ` var...
Signing a CSR using PKCS11 in node.js by using signing key stored in HSM, getting invalid signature
let keySize = 2048; var publicKeyTemplate = [ { type: pkcs11js.CKA_CLASS, value: pkcs11js.CKO_PUBLIC_KEY }, { type: pkcs11js.CKA_TOKEN, value: false }, { type: pkcs11js.CKA_LABEL, value: "My RSA Public Key" }, {...