1 // natVMSecureRandomWin32.cc - Native part of VMSecureRandom class for Win32.
3 /* Copyright (C) 2009 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
13 #include <sys/types.h>
21 #include <java/lang/InternalError.h>
22 #include <java/lang/UnsupportedOperationException.h>
23 #include <gnu/java/security/jce/prng/VMSecureRandom.h>
26 gnu::java::security::jce::prng::VMSecureRandom::natGenerateSeed(jbyteArray byte_array, jint offset, jint length)
29 throw new java::lang::UnsupportedOperationException (
30 JvNewStringLatin1 ("natGenerateSeed is not available for Win32 target."));