toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DataKeySpec.aes_256:
      return 'AES_256';
    case DataKeySpec.aes_128:
      return 'AES_128';
  }
}