# Copyright (c) 2024 Yuki Kimoto
# MIT License

class Net::SSLeay::EVP_CIPHER_CTX {
  version_from Net::SSLeay;
  
  use Fn;
  
  # Class Methods
  private static method new_with_pointer : Net::SSLeay::EVP_CIPHER_CTX ($pointer : Address, $options : object[] = undef) {
    
    my $self = new Net::SSLeay::EVP_CIPHER_CTX;
    
    Fn->set_pointer($self, $pointer);
    
    return $self;
  }
  
  # Instance Methods
  native method DESTROY : void ();
  
}