<?php

namespace LE_ACME2\Response;
defined('ABSPATH') or die();

class GetDirectory extends AbstractResponse {

    public function getKeyChange() : string {
        return $this->_raw->body['keyChange'];
    }

    public function getNewAccount() : string {
        return $this->_raw->body['newAccount'];
    }

    public function getNewNonce() : string {
        return $this->_raw->body['newNonce'];
    }

    public function getNewOrder() : string {
        return $this->_raw->body['newOrder'];
    }

    public function getRevokeCert() : string {
        return $this->_raw->body['revokeCert'];
    }
    
    public function getTermsOfService() : string {
        return $this->_raw->body['meta']['termsOfService'];
    }

    public function getWebsite() : string {
        return $this->_raw->body['meta']['website'];
    }

    public function getCaaIdentities() : string {
        return $this->_raw->body['meta']['caaIdentities'];
    }
}
