toKeyUsageType method
Implementation
KeyUsageType toKeyUsageType() {
switch (this) {
case 'SIGN_VERIFY':
return KeyUsageType.signVerify;
case 'ENCRYPT_DECRYPT':
return KeyUsageType.encryptDecrypt;
}
throw Exception('$this is not known in enum KeyUsageType');
}