|
@@ 155-160 (lines=6) @@
|
| 152 |
|
$tbs_cert->_version = $version; |
| 153 |
|
$tbs_cert->_serialNumber = $serial; |
| 154 |
|
$tbs_cert->_signature = $algo; |
| 155 |
|
if ($seq->hasTagged(1)) { |
| 156 |
|
$tbs_cert->_issuerUniqueID = UniqueIdentifier::fromASN1( |
| 157 |
|
$seq->getTagged(1) |
| 158 |
|
->asImplicit(Element::TYPE_BIT_STRING) |
| 159 |
|
->asBitString()); |
| 160 |
|
} |
| 161 |
|
if ($seq->hasTagged(2)) { |
| 162 |
|
$tbs_cert->_subjectUniqueID = UniqueIdentifier::fromASN1( |
| 163 |
|
$seq->getTagged(2) |
|
@@ 161-166 (lines=6) @@
|
| 158 |
|
->asImplicit(Element::TYPE_BIT_STRING) |
| 159 |
|
->asBitString()); |
| 160 |
|
} |
| 161 |
|
if ($seq->hasTagged(2)) { |
| 162 |
|
$tbs_cert->_subjectUniqueID = UniqueIdentifier::fromASN1( |
| 163 |
|
$seq->getTagged(2) |
| 164 |
|
->asImplicit(Element::TYPE_BIT_STRING) |
| 165 |
|
->asBitString()); |
| 166 |
|
} |
| 167 |
|
if ($seq->hasTagged(3)) { |
| 168 |
|
$tbs_cert->_extensions = Extensions::fromASN1( |
| 169 |
|
$seq->getTagged(3) |