◆ __construct()
static __construct |
( |
|
$fsock | ) |
|
◆ getCurve()
Returns the curve
Returns a string if it's a named curve, an array if not
public
- Renvoie
- string|array
◆ getPublicKey()
getPublicKey |
( |
|
$type = 'PKCS8' | ) |
|
◆ sign()
◆ toString()
toString |
( |
|
$type, |
|
|
array |
$options = [] |
|
) |
| |
Returns the private key
- Paramètres
-
string | $type | |
array | $options | optional |
- Renvoie
- string
Implémente PrivateKey.
◆ withHash()
Sets the hash
- Paramètres
-
Références $hash, et $this.
◆ withPadding()
◆ withPassword()
withPassword |
( |
|
$password = false | ) |
|
Sets the password
public
- Paramètres
-
- Renvoie
- never
Implémente PrivateKey.
◆ withPublicKey()
Set Public Key
Called by ::requestIdentities()
- Paramètres
-
\phpseclib3\Crypt\Common\PublicKey | $key | private |
Références Identity\$key, et $this.
◆ withPublicKeyBlob()
withPublicKeyBlob |
( |
|
$key_blob | ) |
|
Set Public Key
Called by ::requestIdentities(). The key blob could be extracted from $this->key but this saves a small amount of computation.
- Paramètres
-
Références Identity\$key_blob, et $this.
◆ withSignatureFormat()
withSignatureFormat |
( |
|
$format | ) |
|
Determines the signature padding mode
Valid values are: ASN1, SSH2, Raw
public
- Paramètres
-
Références $format, et $this.
◆ $curveAliases
Valeur initiale := [
'secp256r1' => 'nistp256'
◆ $flags
◆ $fsock
◆ $key
◆ $key_blob
◆ SSH_AGENT_RSA2_256
const SSH_AGENT_RSA2_256 = 2 |
◆ SSH_AGENT_RSA2_512
const SSH_AGENT_RSA2_512 = 4 |
La documentation de cette classe a été générée à partir du fichier suivant :