equal
deleted
inserted
replaced
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package java.security; |
26 package java.security; |
27 |
27 |
|
28 import java.math.BigInteger; |
28 import java.util.*; |
29 import java.util.*; |
|
30 import java.util.random.RandomNumberGenerator; |
29 import java.util.regex.*; |
31 import java.util.regex.*; |
30 |
|
31 import java.security.Provider.Service; |
32 import java.security.Provider.Service; |
32 |
|
33 import sun.security.jca.*; |
33 import sun.security.jca.*; |
34 import sun.security.jca.GetInstance.Instance; |
34 import sun.security.jca.GetInstance.Instance; |
35 import sun.security.util.Debug; |
35 import sun.security.util.Debug; |
36 |
36 |
37 /** |
37 /** |
1021 secureRandomSpi.engineReseed(params); |
1021 secureRandomSpi.engineReseed(params); |
1022 } |
1022 } |
1023 } |
1023 } |
1024 } |
1024 } |
1025 |
1025 |
|
1026 /** |
|
1027 * Returns the period of this random number generator. |
|
1028 * |
|
1029 * @return the period of this random number generator. |
|
1030 */ |
|
1031 @Override |
|
1032 public BigInteger period() { |
|
1033 return RandomNumberGenerator.HUGE_PERIOD; |
|
1034 } |
|
1035 |
1026 // Declare serialVersionUID to be compatible with JDK1.1 |
1036 // Declare serialVersionUID to be compatible with JDK1.1 |
1027 static final long serialVersionUID = 4940670005562187L; |
1037 static final long serialVersionUID = 4940670005562187L; |
1028 |
1038 |
1029 // Retain unused values serialized from JDK1.1 |
1039 // Retain unused values serialized from JDK1.1 |
1030 /** |
1040 /** |