static final KeysetHandle fromKeysetAndAnnotations(
      Keyset keyset, MonitoringAnnotations annotations) throws GeneralSecurityException {
    assertEnoughKeyMaterial(keyset);
    List<Entry> entries = getEntriesFromKeyset(keyset);
    return new KeysetHandle(keyset, entries, annotations);
  }
@return a new {@link KeysetHandle} from a {@code keyset} and {@code annotations}.
@throws GeneralSecurityException if the keyset is null or empty.
java_src/src/main/java/com/google/crypto/tink/KeysetHandle.java