mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Merge branch '2.0'
This commit is contained in:
commit
5b464a169a
@ -3049,6 +3049,9 @@ class X509
|
|||||||
case 'rsaEncryption':
|
case 'rsaEncryption':
|
||||||
$csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']
|
$csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey']
|
||||||
= Base64::encode("\0" . Base64::decode(preg_replace('#-.+-|[\r\n]#', '', $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'])));
|
= Base64::encode("\0" . Base64::decode(preg_replace('#-.+-|[\r\n]#', '', $csr['certificationRequestInfo']['subjectPKInfo']['subjectPublicKey'])));
|
||||||
|
$csr['certificationRequestInfo']['subjectPKInfo']['algorithm']['parameters'] = null;
|
||||||
|
$csr['signatureAlgorithm']['parameters'] = null;
|
||||||
|
$csr['certificationRequestInfo']['signature']['parameters'] = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user