toValue method
Implementation
String toValue() {
switch (this) {
case ExtendedKeyUsageName.tlsWebServerAuthentication:
return 'TLS_WEB_SERVER_AUTHENTICATION';
case ExtendedKeyUsageName.tlsWebClientAuthentication:
return 'TLS_WEB_CLIENT_AUTHENTICATION';
case ExtendedKeyUsageName.codeSigning:
return 'CODE_SIGNING';
case ExtendedKeyUsageName.emailProtection:
return 'EMAIL_PROTECTION';
case ExtendedKeyUsageName.timeStamping:
return 'TIME_STAMPING';
case ExtendedKeyUsageName.ocspSigning:
return 'OCSP_SIGNING';
case ExtendedKeyUsageName.ipsecEndSystem:
return 'IPSEC_END_SYSTEM';
case ExtendedKeyUsageName.ipsecTunnel:
return 'IPSEC_TUNNEL';
case ExtendedKeyUsageName.ipsecUser:
return 'IPSEC_USER';
case ExtendedKeyUsageName.any:
return 'ANY';
case ExtendedKeyUsageName.none:
return 'NONE';
case ExtendedKeyUsageName.custom:
return 'CUSTOM';
}
}