36 for (
$n =
$xml->firstChild;
$n !==
null;
$n =
$n->nextSibling) {
37 if (!(
$n instanceof \DOMElement)) {
45 switch (
$n->localName) {
46 case 'X509Certificate':
62 public function toXML(\DOMElement $parent)
64 assert(is_array($this->
data));
66 $doc = $parent->ownerDocument;
69 $parent->appendChild($e);
72 foreach ($this->
data as
$n) {
An exception for terminatinating execution or to throw for unit testing.
__construct(\DOMElement $xml=null)
Initialize a X509Data.