OpenPGP_ModificationDetectionCodePacket::read PHP Method

read() public method

public read ( )
    function read()
    {
        $this->data = $this->input;
        if (strlen($this->input) != 20) {
            throw new Exception("Bad ModificationDetectionCodePacket");
        }
    }
OpenPGP_ModificationDetectionCodePacket