public function __construct($keytag, $algorithm, $digest, $key, $rest) { parent::__construct(); $this->setKeytag($keytag); $this->setAlgorithm($algorithm); $this->setDigest($digest); $this->setKey($key); $this->setRest($rest); }
public function __construct($flags, $protocol, $algorithm, $pubkey) { parent::__construct(); //$this->setKeytag($flags, $protocol, $algorithm, $pubkey); $this->setKeylength(strlen($pubkey)); $this->setFlags($flags); $this->setProtocol($protocol); $this->setAlgorithm($algorithm); $this->setPublicKey($pubkey); $this->setPublicKeyBase64(base64_encode($pubkey)); $this->sep = false; $this->zonekey = false; }
public function __construct($type, $algorithm, $labels, $originalttl, $expiration, $inception, $keytag) { parent::__construct(); date_default_timezone_set('UTC'); $types = new DNSTypes(); $this->setTypecovered($types->GetById($type)); $this->setAlgorithm($algorithm); $this->setLabels($labels); $this->setOriginalTTL($originalttl); $this->setExpirationTimestamp($expiration); $this->setInceptionTimestamp($inception); $this->setExpirationDate(date('YmdHis', $expiration)); $this->setInceptionDate(date('YmdHis', $inception)); $this->setKeytag($keytag); }
public function __construct($record) { parent::__construct(); $this->setRecord($record); }
public function __construct($ns) { parent::__construct(); $this->setNameserver($ns); }
public function __construct($redirect) { parent::__construct(); $this->setRedirect($redirect); }
function __construct($data) { parent::__construct(); $this->setData($data); }
function __construct($ip) { parent::__construct(); $this->setIpv4($ip); }