Returns the public key for a given private key.
Each key is a byte array.
Namespace: BasicCard.Crypto.ECAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public byte[] PublicKey(
byte[] PrivateKey
) |
Visual Basic |
---|
Public Function PublicKey (
PrivateKey As Byte()
) As Byte() |
Visual C++ |
---|
public:
virtual array<unsigned char>^ PublicKey(
array<unsigned char>^ PrivateKey
) sealed |
F# |
---|
abstract PublicKey :
PrivateKey : byte[] -> byte[]
override PublicKey :
PrivateKey : byte[] -> byte[] |
Parameters
- PrivateKey
- Type: array<System..::..Byte>[]()[][]
Private key.
Return Value
Type:
array<Byte>[]()[][]Public key.
Implements
EllipticCurve..::..PublicKey(array<Byte>[]()[][])Remarks
Exceptions
See Also