equal
deleted
inserted
replaced
91 /* Are we debugging? -- for developers */ |
91 /* Are we debugging? -- for developers */ |
92 static final boolean debug = false; |
92 static final boolean debug = false; |
93 |
93 |
94 // Instance of this provider, so we don't have to call the provider list |
94 // Instance of this provider, so we don't have to call the provider list |
95 // to find ourselves or run the risk of not being in the list. |
95 // to find ourselves or run the risk of not being in the list. |
96 private static volatile SunJCE instance = null; |
96 private static volatile SunJCE instance; |
97 |
97 |
98 // lazy initialize SecureRandom to avoid potential recursion if Sun |
98 // lazy initialize SecureRandom to avoid potential recursion if Sun |
99 // provider has not been installed yet |
99 // provider has not been installed yet |
100 private static class SecureRandomHolder { |
100 private static class SecureRandomHolder { |
101 static final SecureRandom RANDOM = new SecureRandom(); |
101 static final SecureRandom RANDOM = new SecureRandom(); |