Wrappers for ECC cryptography.
More...
Wrappers for ECC cryptography.
◆ CreateSignature()
static byte [] SpringCard.SpringCore.Direct.ECC.CreateSignature |
( |
AsymmetricCipherKeyPair |
privateKey, |
|
|
byte[] |
message |
|
) |
| |
|
static |
◆ GetPrivateKeyFromPemFile()
static byte [] SpringCard.SpringCore.Direct.ECC.GetPrivateKeyFromPemFile |
( |
string |
FileName, |
|
|
string |
Curve |
|
) |
| |
|
static |
Load a private key from a PEM file and return its raw value (D component).
◆ ImportPrivateKeyFromPemFile()
static AsymmetricCipherKeyPair SpringCard.SpringCore.Direct.ECC.ImportPrivateKeyFromPemFile |
( |
string |
FileName | ) |
|
|
static |
Load a private key from a PEM file.
◆ ImportPublicKey()
static ECPublicKeyParameters SpringCard.SpringCore.Direct.ECC.ImportPublicKey |
( |
string |
curve, |
|
|
byte[] |
encodedPublicKey, |
|
|
bool |
expand = false |
|
) |
| |
|
static |
Decode a public key from its raw (X and Y) value.
◆ ImportPublicKeyFromPemFile()
static AsymmetricKeyParameter SpringCard.SpringCore.Direct.ECC.ImportPublicKeyFromPemFile |
( |
string |
FileName | ) |
|
|
static |
Load a public key from a PEM file.
◆ PublicKeyPem() [1/2]
static string SpringCard.SpringCore.Direct.ECC.PublicKeyPem |
( |
ECPublicKeyParameters |
publicKey | ) |
|
|
static |
Convert a public key to a PEM string.
◆ PublicKeyPem() [2/2]
static string SpringCard.SpringCore.Direct.ECC.PublicKeyPem |
( |
string |
curve, |
|
|
byte[] |
encodedPublicKey, |
|
|
bool |
expand = false |
|
) |
| |
|
static |
Convert a public key to a PEM string.
◆ VerifySignature()
static bool SpringCard.SpringCore.Direct.ECC.VerifySignature |
( |
AsymmetricKeyParameter |
publicKey, |
|
|
byte[] |
message, |
|
|
byte[] |
signature |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- D:/dev/companion/springcard.software.companion-service/src/common/lib-cs/springcore/utils/ECC.cs