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

Property 'parseInternalValues' is protected and only accessible within class 'PKCS8ShroudedKeyBag' and its subclasses.ts(2445) #399

Open
pboguslawski opened this issue Mar 19, 2024 · 1 comment

Comments

@pboguslawski
Copy link

pboguslawski commented Mar 19, 2024

Using parseInternalValues for PKCS #8 key decryption makes TS angry:

Property 'parseInternalValues' is protected and only accessible within class 'PKCS8ShroudedKeyBag' and its subclasses.ts(2445)

Shouldn't be public like makeInternalValues is to officially allow encryption/decryption using PKCS8ShroudedKeyBag class methods?

@amphineko
Copy link

I'm curious on your use case.

Can you derive PKCS8ShroudedKeyBag, and call parseInternalValues with a new member function in the derived class?

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

No branches or pull requests

2 participants