public static SecretBigInteger fromBigInteger(BigInteger value, SecretKeyAccess access) {
    if (access == null) {
      throw new NullPointerException("SecretKeyAccess required");
    }
    // Since BigInteger is immutable, there is no need to make a copy.
    return new SecretBigInteger(value);
  }
Creates a new SecretBigInteger with the content given in {@code value}.

<p>The parameter {@code access} must be non-null.
java_src/src/main/java/com/google/crypto/tink/util/SecretBigInteger.java