ECPrivateKey.raw constructor
ECPrivateKey.raw(
- ECPrivateKey _key
Implementation
ECPrivateKey.raw(pc.ECPrivateKey _key) {
final _params = _key.parameters;
if (_params == null) {
throw JWTParseException('ECPrivateKey parameters are invalid');
}
key = _key;
size = (_params.curve.fieldSize / 8).ceil();
}