@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public const PK_ALGORITHM_ECDSA = "-7"; |
27 | 27 | public const PK_ALGORITHM_RSA = "-257"; |
28 | - public const PK_ALGORITHM = [ self::PK_ALGORITHM_ECDSA, self::PK_ALGORITHM_RSA ]; |
|
28 | + public const PK_ALGORITHM = [self::PK_ALGORITHM_ECDSA, self::PK_ALGORITHM_RSA]; |
|
29 | 29 | public const AAGUID_ASSURANCE_LEVEL_NONE = 0; |
30 | 30 | public const AAGUID_ASSURANCE_LEVEL_SELF = 1; |
31 | 31 | public const AAGUID_ASSURANCE_LEVEL_BASIC = 2; |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | $keyDetails = openssl_pkey_get_details($keyResource); |
263 | 263 | if ( |
264 | 264 | $credentialDetails['bits'] != $keyDetails['bits'] || |
265 | - $credentialDetails['key'] != $keyDetails['key'] || |
|
265 | + $credentialDetails['key'] != $keyDetails['key'] || |
|
266 | 266 | $credentialDetails['type'] != $keyDetails['type'] |
267 | 267 | ) { |
268 | 268 | $this->fail( |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | } |
575 | 575 | $extensions = substr($attData, 18 + $credIdLen + $credentialLength); |
576 | 576 | if (strlen($extensions) !== 0) { |
577 | - $this->pass("Found the following extensions (". strlen($extensions) ." bytes) during registration ceremony: " ); |
|
577 | + $this->pass("Found the following extensions (" . strlen($extensions) . " bytes) during registration ceremony: "); |
|
578 | 578 | } |
579 | 579 | |
580 | 580 |
@@ -216,7 +216,7 @@ |
||
216 | 216 | $this->db->write( |
217 | 217 | 'INSERT INTO credentials ' . |
218 | 218 | '(user_id, credentialId, credential, algo, presenceLevel, isResidentKey, signCounter, friendlyName, hashedId) VALUES ' |
219 | - . '(:userId,:credentialId,:credential,:algo,:presenceLevel,:isResidentKey,:signCounter,:friendlyName,:hashedId)', |
|
219 | + . '(:userId,:credentialId,:credential,:algo,:presenceLevel,:isResidentKey,:signCounter,:friendlyName,:hashedId)', |
|
220 | 220 | [ |
221 | 221 | 'userId' => $userId, |
222 | 222 | 'credentialId' => $credentialId, |