Skip to content

add authenticatedAttribute signingCertificateV2#768

Open
tuliomoreira77 wants to merge 1 commit into
digitalbazaar:mainfrom
tuliomoreira77:master
Open

add authenticatedAttribute signingCertificateV2#768
tuliomoreira77 wants to merge 1 commit into
digitalbazaar:mainfrom
tuliomoreira77:master

Conversation

@tuliomoreira77
Copy link
Copy Markdown

add the authenticatedAttribute signingCertificateV2.
where value is the sha256 hash of the entire DER Signing Certificate. Usage:
type:NodeForge.pki.oids.signingCertificateV2,
value: createHash(Buffer.from(NodeForge.pki.pemToDer(certificateToSign).getBytes(), 'binary')).toString('binary') //createHash is a generic function that receives a Buffer and return a buffer sha256 hash

add the authenticatedAttribute signingCertificateV2.
where value is the sha256 hash of the entire DER Signing Certificate. Usage:
type:NodeForge.pki.oids.signingCertificateV2,
value: createHash(Buffer.from(NodeForge.pki.pemToDer(certificateToSign).getBytes(), 'binary')).toString('binary')
Copy link
Copy Markdown
Contributor

@dhensby dhensby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would definitely be a nice low risk addition

@davidlehn davidlehn added this to the v1.x milestone Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants