package node.crypto; typedef ECKeyPairOptions = { /** Name of the curve to use. **/ var namedCurve : String; var publicKeyEncoding : { var type : String; var format : PubF; }; var privateKeyEncoding : BasePrivateKeyEncodingOptions & { var type : String; }; };