public static SecretBytes copyFrom(byte[] value, SecretKeyAccess access) {
    if (access == null) {
      throw new NullPointerException("SecretKeyAccess required");
    }
    return new SecretBytes(Bytes.copyFrom(value));
  }
Creates a new SecretBytes with the contents given in {@code value}.

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