#[derive(ZeroizeOnDrop)]
{
    // Attributes available to this derive:
    #[zeroize]
}
Available on crate feature pkcs8 only.
Expand description

Derive the ZeroizeOnDrop trait.

Supports the following attributes:

On the field level:

  • #[zeroize(skip)]: skips this field or variant when calling zeroize()