ThalesGroup / crypto11

Implement crypto.Signer and crypto.Decrypter for HSM-protected keys via PKCS#11
MIT License
219 stars 86 forks source link

Add a method to delete a certificate. #80

Closed maraino closed 3 years ago

maraino commented 3 years ago

Description

This PR adds a new method to delete a previously imported certificate:

func (c *Context) DeleteCertificate(id []byte, label []byte, serial *big.Int) error
maraino commented 3 years ago

If the PR is approved and merged, a new release will be appreciated.

maraino commented 3 years ago

@ProsaicSatsuma Any update on this?

ProsaicSatsuma commented 3 years ago

Apologies for the delay - missed the earlier notifications. Thanks for the PR. Looks good. Approved

maraino commented 3 years ago

@ProsaicSatsuma Can you tag a new release?

ProsaicSatsuma commented 3 years ago

done. Tagged as v1.2.4