bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
230 stars 120 forks source link

Create x509 certificate #196

Closed insinfo closed 1 year ago

insinfo commented 1 year ago

Hi, Is it possible, or are there any plans for creating X.509 certificates, CSR and KEY ?

Ephenodrom commented 1 year ago

Yes this is possible, but only on a low level. You have to create the ASN1 structure on your own. Another way is to use the Package "Basic Utils". It has the functionality to create X509 certificates and more and is based on the pointycastle project. You can use the package or check the code on how it is done.