OpenSSL.CIPHER.CTRL C# (CSharp) Méthode

CTRL() public méthode

public CTRL ( int type, int arg, byte ptr, int offset ) : void
type int
arg int
ptr byte
offset int
Résultat void
        public void CTRL(int type, int arg, byte[] ptr, int offset)
        {
            if (ptr == null)
                offset = 0;

            fixed (byte *p = ptr) {
                IntPtr ip = new IntPtr(p + offset);

                if (_CIPHER.EVP_CIPHER_CTX_ctrl(this._handle, type, arg, ip) == 0)
                    throw new EVPException();
            }
        }
    }