Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 public function __construct($record)
 {
     parent::__construct();
     $this->setRecord($record);
 }
Ejemplo n.º 5
0
 public function __construct($ns)
 {
     parent::__construct();
     $this->setNameserver($ns);
 }
Ejemplo n.º 6
0
 public function __construct($redirect)
 {
     parent::__construct();
     $this->setRedirect($redirect);
 }
Ejemplo n.º 7
0
 function __construct($data)
 {
     parent::__construct();
     $this->setData($data);
 }
Ejemplo n.º 8
0
 function __construct($ip)
 {
     parent::__construct();
     $this->setIpv4($ip);
 }