示例#1
0
 protected override void CleanUp(bool viaDispose)
 {
     // keys are invalid once CryptContext is closed,
     // so the only time I try to close an individual key is if a user
     // explicitly disposes of the key.
     if (viaDispose)
     {
         _ctx.DestroyKey(this);
     }
 }