class PasswordMessage extends PGMessage {

    public static PasswordMessage loadFromPacket(byte[] packet) {
        PGProto proto = new PGProto(packet, 5);
        String password = proto.readNullStr();
        return new PasswordMessage(password);
    }

    public  PasswordMessage(byte[] password);
    public  PasswordMessage(String password);
    public  PasswordMessage(String user, String password, byte[] salt);
    public  PasswordMessage(byte[] user, byte[] password, byte[] salt);

}