15 lines
295 B
Haxe
15 lines
295 B
Haxe
package node.crypto;
|
|
|
|
typedef ECKeyPairOptions<PubF, PrivF> = {
|
|
/**
|
|
Name of the curve to use.
|
|
**/
|
|
var namedCurve : String;
|
|
var publicKeyEncoding : {
|
|
var type : String;
|
|
var format : PubF;
|
|
};
|
|
var privateKeyEncoding : BasePrivateKeyEncodingOptions<PrivF> & {
|
|
var type : String;
|
|
};
|
|
}; |