toValue method
Implementation
String toValue() {
switch (this) {
case CustomerMasterKeySpec.rsa_2048:
return 'RSA_2048';
case CustomerMasterKeySpec.rsa_3072:
return 'RSA_3072';
case CustomerMasterKeySpec.rsa_4096:
return 'RSA_4096';
case CustomerMasterKeySpec.eccNistP256:
return 'ECC_NIST_P256';
case CustomerMasterKeySpec.eccNistP384:
return 'ECC_NIST_P384';
case CustomerMasterKeySpec.eccNistP521:
return 'ECC_NIST_P521';
case CustomerMasterKeySpec.eccSecgP256k1:
return 'ECC_SECG_P256K1';
case CustomerMasterKeySpec.symmetricDefault:
return 'SYMMETRIC_DEFAULT';
}
}