38 |
|
|
39 |
package java.security.cert; |
package java.security.cert; |
40 |
|
|
41 |
|
import gnu.classpath.SystemProperties; |
42 |
import gnu.java.security.OID; |
import gnu.java.security.OID; |
|
import gnu.java.security.action.GetPropertyAction; |
|
43 |
|
|
44 |
import java.io.IOException; |
import java.io.IOException; |
45 |
import java.math.BigInteger; |
import java.math.BigInteger; |
|
import java.security.AccessController; |
|
46 |
import java.security.KeyFactory; |
import java.security.KeyFactory; |
47 |
import java.security.PublicKey; |
import java.security.PublicKey; |
48 |
import java.security.spec.X509EncodedKeySpec; |
import java.security.spec.X509EncodedKeySpec; |
1023 |
public String toString() |
public String toString() |
1024 |
{ |
{ |
1025 |
StringBuffer str = new StringBuffer(X509CertSelector.class.getName()); |
StringBuffer str = new StringBuffer(X509CertSelector.class.getName()); |
1026 |
GetPropertyAction getProp = new GetPropertyAction("line.separator"); |
String nl = SystemProperties.getProperty("line.separator"); |
|
String nl = (String) AccessController.doPrivileged(getProp); |
|
1027 |
String eol = ";" + nl; |
String eol = ";" + nl; |
1028 |
str.append(" {").append(nl); |
str.append(" {").append(nl); |
1029 |
if (cert != null) |
if (cert != null) |