|
static VirgilKeyPair | generate (VirgilKeyPair::Type type=VirgilKeyPair::Type_Default, const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair given type. More...
|
|
static VirgilKeyPair | generateFrom (const VirgilKeyPair &donorKeyPair, const virgil::crypto::VirgilByteArray &donorPrivateKeyPassword=virgil::crypto::VirgilByteArray(), const virgil::crypto::VirgilByteArray &newKeyPairPassword=virgil::crypto::VirgilByteArray()) |
| Generate new key pair of the same type based on the donor key pair. More...
|
|
static VirgilKeyPair | ecNist192 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 192-bits NIST curve. More...
|
|
static VirgilKeyPair | ecNist224 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 224-bits NIST curve. More...
|
|
static VirgilKeyPair | ecNist256 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 256-bits NIST curve. More...
|
|
static VirgilKeyPair | ecNist384 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 384-bits NIST curve. More...
|
|
static VirgilKeyPair | ecNist521 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 521-bits NIST curve. More...
|
|
static VirgilKeyPair | ecBrainpool256 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 256-bits Brainpool curve. More...
|
|
static VirgilKeyPair | ecBrainpool384 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 384-bits Brainpool curve. More...
|
|
static VirgilKeyPair | ecBrainpool512 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 512-bits Brainpool curve. More...
|
|
static VirgilKeyPair | ecKoblitz192 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 192-bits "Koblitz" curve. More...
|
|
static VirgilKeyPair | ecKoblitz224 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 224-bits "Koblitz" curve. More...
|
|
static VirgilKeyPair | ecKoblitz256 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with 256-bits "Koblitz" curve. More...
|
|
static VirgilKeyPair | rsa256 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with RSA 256-bits. More...
|
|
static VirgilKeyPair | rsa512 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with RSA 512-bits. More...
|
|
static VirgilKeyPair | rsa1024 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with RSA 1024-bits. More...
|
|
static VirgilKeyPair | rsa2048 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with RSA 2048-bits. More...
|
|
static VirgilKeyPair | rsa4096 (const virgil::crypto::VirgilByteArray &pwd=virgil::crypto::VirgilByteArray()) |
| Generate new key pair with RSA 4096-bits. More...
|
|
|
static bool | isKeyPairMatch (const virgil::crypto::VirgilByteArray &publicKey, const virgil::crypto::VirgilByteArray &privateKey, const virgil::crypto::VirgilByteArray &privateKeyPassword=virgil::crypto::VirgilByteArray()) |
| Check if a public-private pair of keys matches. More...
|
|
static bool | checkPrivateKeyPassword (const virgil::crypto::VirgilByteArray &key, const virgil::crypto::VirgilByteArray &pwd) |
| Check if given private key and it's password matches. More...
|
|
static bool | isPrivateKeyEncrypted (const virgil::crypto::VirgilByteArray &privateKey) |
| Check if given private key is encrypted. More...
|
|
|
static virgil::crypto::VirgilByteArray | resetPrivateKeyPassword (const virgil::crypto::VirgilByteArray &privateKey, const virgil::crypto::VirgilByteArray &oldPassword, const virgil::crypto::VirgilByteArray &newPassword) |
| Reset password for the given private key. More...
|
|
static virgil::crypto::VirgilByteArray | extractPublicKey (const virgil::crypto::VirgilByteArray &privateKey, const virgil::crypto::VirgilByteArray &privateKeyPassword) |
| Extract public key from the private key. More...
|
|
This class handles information about Virgil Security key pair.