JsonWebKey.symmetric constructor
Creates a JsonWebKey of type oct
Implementation
JsonWebKey.symmetric({required BigInt key, String? keyId})
: this.fromJson({
'kty': 'oct',
'k': _intToBase64(key),
if (keyId != null) 'kid': keyId,
});