Skip to content

bb107/Certificate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certificate

Build Status

a simple digital certificate class.

  • Commonly used enhanced key usage can be combined with an operator (EnhKeyUsage.h).
  • You can specify additional enhanced key usage or other certificate extensions.

Features

  • Certificates marked as "non-exportable private key" can also be exported to file (.cer+.pvk or .pfx). "Exporting a Private Key Marked as Unexportable" Principle Reference: Source
    *(DWORD*)(*(DWORD*)(*(DWORD*)(hCryptKey + 0x2C) ^ 0xE35A172C) + 8) |= CRYPT_EXPORTABLE | CRYPT_ARCHIVABLE;
  • Certificate generation part of the reference: makecert.c
  • You can import a certificate from a file, import a certificate from a certificate store, or export to these places.
  • Complete error code to quickly locate the cause of the error.

License

MIT

Releases

No releases published

Packages

No packages published