Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement and .NET interoperability #1084

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Sebastian-Dieguez
Copy link

Forge ChangeLog

1.3.2 - 2024-06-04

Enhancement and interoperability

  • At [pkcs12.js] and [pbe.js].
    • Added (options.encryptCert) flag to allow encrypt [PKCS#7 ContentInfo], used in [PKCS#12 toPkcs12Asn1].
    • This ensures interoperability with [System.Security.Cryptography.X509Certificates.X509Certificate2(cert, password)].
    • Added suport for .NET interoperability for X509Certificate2(cert, password = "")
      for do this set toPkcs12Asn1 with password = undefined.

Completing OIDs

  • At [oids.js] and [x509.js].
    • Was added this: 'ocsp','caIssuers' OIDs.
    • Added setExtensions for this OIDs: 'ocsp','caIssuers'.
    //Example of use: 
    {
      name: 'authorityInfoAccess', //OCSP is Implemented in Fork https://github.com/SevanMelemedjian/forge.git
      accessDescriptions: [
        {
            accessMethod: 'ocsp',
            accessLocation: 'http://yoursite.com/static/ocsp'
        },{
              accessMethod: 'caIssuers',
              accessLocation: 'http://yoursite.com/static/root.crt'
      }]
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants