Returns the public key for a given private key. Each key is a byte[27] array.

Namespace: BasicCard.Crypto.EC
Assembly: 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>[]()[][])

Exceptions

See Also