toValue method
Implementation
String toValue() {
switch (this) {
case MinimumProtocolVersion.sSLv3:
return 'SSLv3';
case MinimumProtocolVersion.tLSv1:
return 'TLSv1';
case MinimumProtocolVersion.tLSv1_2016:
return 'TLSv1_2016';
case MinimumProtocolVersion.tLSv1_1_2016:
return 'TLSv1.1_2016';
case MinimumProtocolVersion.tLSv1_2_2018:
return 'TLSv1.2_2018';
case MinimumProtocolVersion.tLSv1_2_2019:
return 'TLSv1.2_2019';
}
}