public static com.google.crypto.tink.proto.KeyStatusType toProto(KeyStatusType status) {
    switch (status) {
      case ENABLED:
        return com.google.crypto.tink.proto.KeyStatusType.ENABLED;
      case DISABLED:
        return com.google.crypto.tink.proto.KeyStatusType.DISABLED;
      case DESTROYED:
        return com.google.crypto.tink.proto.KeyStatusType.DESTROYED;
    }
    throw new IllegalArgumentException("Unknown key status type.");
  }
Converts a {@link KeyHandle.KeyStatusType} enum into a {@link KeyStatusType} proto enum
java_src/src/main/java/com/google/crypto/tink/internal/KeyStatusTypeProtoConverter.java