Home
last modified time | relevance | path

Searched +full:signature -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 63) sorted by relevance

123

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/
H A DRaw.php4 * Raw DSA Signature Handler
14 namespace phpseclib3\Crypt\DSA\Formats\Signature;
16 use phpseclib3\Crypt\Common\Formats\Signature\Raw as Progenitor;
19 * Raw DSA Signature Handler
H A DASN1.php4 * ASN1 Signature Handler
17 namespace phpseclib3\Crypt\DSA\Formats\Signature;
24 * ASN1 Signature Handler
31 * Loads a signature
52 * Returns a signature in the appropriate format
H A DSSH2.php4 * SSH2 Signature Handler
16 namespace phpseclib3\Crypt\DSA\Formats\Signature;
22 * SSH2 Signature Handler
29 * Loads a signature
56 * Returns a signature in the appropriate format
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/
H A DRaw.php4 * Raw EC Signature Handler
14 namespace phpseclib3\Crypt\EC\Formats\Signature;
16 use phpseclib3\Crypt\Common\Formats\Signature\Raw as Progenitor;
19 * Raw DSA Signature Handler
H A DASN1.php4 * ASN1 Signature Handler
17 namespace phpseclib3\Crypt\EC\Formats\Signature;
24 * ASN1 Signature Handler
31 * Loads a signature
52 * Returns a signature in the appropriate format
H A DIEEE.php4 * IEEE P1363 Signature Handler
18 namespace phpseclib3\Crypt\EC\Formats\Signature;
23 * ASN1 Signature Handler
30 * Loads a signature
53 * Returns a signature in the appropriate format
H A DSSH2.php4 * SSH2 Signature Handler
16 namespace phpseclib3\Crypt\EC\Formats\Signature;
22 * SSH2 Signature Handler
29 * Loads a signature
67 * Returns a signature in the appropriate format
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/
H A DRaw.php4 * Raw Signature Handler
16 namespace phpseclib3\Crypt\Common\Formats\Signature;
21 * Raw Signature Handler
28 * Loads a signature
50 * Returns a signature in the appropriate format
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPublicKey.php21 use phpseclib3\Crypt\EC\Formats\Signature\ASN1 as ASN1Signature;
36 * Verify a signature
40 * @param string $signature
43 public function verify($message, $signature) argument
59 list(, $signature) = Strings::unpackSSH2('ss', $signature);
63 … return sodium_crypto_sign_verify_detached($signature, $message, $this->toString('libsodium'));
67 if (strlen($signature) != 2 * $curve::SIZE) {
71 $R = substr($signature, 0, $curve::SIZE);
72 $S = substr($signature, $curve::SIZE);
99 $k = $hash->hash($dom2 . substr($signature, 0, $curve::SIZE) . $A . $message);
[all …]
H A DPrivateKey.php22 use phpseclib3\Crypt\EC\Formats\Signature\ASN1 as ASN1Signature;
86 * Create a signature
147 $signature = '';
153 …$result = openssl_sign($message, $signature, $this->withPassword()->toString('PKCS8', ['namedCurve…
157 return $signature;
160 extract(ASN1Signature::load($signature));
258 * Returns a signature in the appropriate format
/dokuwiki/inc/
H A DJWT.php47 [$header, $payload, $signature] = sexplode('.', $token, 3, '');
48 $signature = base64_decode($signature);
50 … if (!hash_equals($signature, hash_hmac('sha256', "$header.$payload", self::getSecret(), true))) {
51 throw new \Exception('Invalid JWT signature');
61 if (!$header || !$payload || !$signature) {
136 $signature = hash_hmac('sha256', "$header.$payload", self::getSecret(), true);
137 $signature = base64_encode($signature);
138 return "$header.$payload.$signature";
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPublicKey.php16 use phpseclib3\Crypt\DSA\Formats\Signature\ASN1 as ASN1Signature;
28 * Verify a signature
32 * @param string $signature
35 public function verify($message, $signature) argument
39 $params = $format::load($signature);
46 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature;
H A DPrivateKey.php16 use phpseclib3\Crypt\DSA\Formats\Signature\ASN1 as ASN1Signature;
50 … * the publicKey portion /is/ the key. In the case of DSA it is not. You cannot verify a signature
72 * Create a signature
83 $signature = '';
84 … $result = openssl_sign($message, $signature, $this->toString('PKCS8'), $this->hash->getHash());
88 return $signature;
91 extract(ASN1Signature::load($signature));
/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DIntrospectionServer.php68 // Over-rides default call method, adds signature check
74 $signature = $this->signatures[$methodname];
75 array_shift($signature);
78 if (count($args) != count($signature)) {
87 $type = array_shift($signature);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php44 // Signature Flags
74 * Signature flags
228 * Determines the signature padding mode
237 … throw new UnsupportedAlgorithmException('Only DSA and EC keys support signature format setting');
263 * Create a signature
265 * See "2.6.2 Protocol 2 private key signature request"
292 throw new \RuntimeException('Unable to retrieve signature');
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DEC.php18 * $signature = $private->sign($plaintext);
20 * echo $public->verify($plaintext, $signature) ? 'verified' : 'unverified';
78 * Signature Format
85 * Signature Format (Short)
127 * Signature Format
258 $this->sigFormat = self::validatePlugin('Signature', 'ASN1');
381 * Determines the signature padding mode
395 $new->sigFormat = self::validatePlugin('Signature', $format);
400 * Returns the signature format currently being used
439 * Returns the signature format currently being used
H A DDSA.php18 * $signature = $private->sign($plaintext);
20 * echo $public->verify($plaintext, $signature) ? 'verified' : 'unverified';
84 * Signature Format
91 * Signature Format (Short)
261 $this->sigFormat = self::validatePlugin('Signature', 'ASN1');
315 * Determines the signature padding mode
325 $new->sigFormat = self::validatePlugin('Signature', $format);
330 * Returns the signature format currently being used
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/
H A DTBSCertificate.php25 …// assert($TBSCertificate['children']['signature'] == $Certificate['children']['signatureAlgorithm…
40 'signature' => AlgorithmIdentifier::MAP,
H A DCertificateList.php30 'signature' => ['type' => ASN1::TYPE_BIT_STRING]
H A DCertificationRequest.php30 'signature' => ['type' => ASN1::TYPE_BIT_STRING]
H A DSignedPublicKeyAndChallenge.php30 'signature' => ['type' => ASN1::TYPE_BIT_STRING]
H A DCertificate.php30 'signature' => ['type' => ASN1::TYPE_BIT_STRING]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DPublicKey.php21 public function verify($message, $signature); argument
/dokuwiki/_test/tests/inc/
H A Dtoolbar.test.php8 $conf['signature'] = '" --- \\\\n //[[@MAIL@|@NAME@]] (@USER@) @DATE@//"';
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPublicKey.php127 * This means that under rare conditions you can have a perfectly valid v1.5 signature
130 * whether the underlying BER encoding is a DER encoding and hence whether the signature
295 * Verifies a signature
299 * @param string $signature
302 public function verify($message, $signature) argument
306 return $this->rsassa_pkcs1_v1_5_relaxed_verify($message, $signature);
308 return $this->rsassa_pkcs1_v1_5_verify($message, $signature);
311 return $this->rsassa_pss_verify($message, $signature);
487 …ew UnsupportedFormatException('The PSS format can only be used when the signature method has been …

123