Example #1
0
 public function __construct()
 {
     $this->innerSequence = new Sequence();
     parent::__construct($this->innerSequence);
 }
 /**
  * @param string|\FG\ASN1\Universal\ObjectIdentifier $objIdentifierString
  * @param \FG\ASN1\Object $value
  */
 public function __construct($objIdentifierString, Object $value)
 {
     // TODO: This does only support one element in the RelativeDistinguishedName Set but it it is defined as follows:
     // RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
     parent::__construct(new AttributeTypeAndValue($objIdentifierString, $value));
 }