41 |
import java.io.ByteArrayInputStream; |
import java.io.ByteArrayInputStream; |
42 |
import java.io.InputStream; |
import java.io.InputStream; |
43 |
import java.io.IOException; |
import java.io.IOException; |
44 |
|
import java.io.ObjectStreamException; |
45 |
import java.io.Serializable; |
import java.io.Serializable; |
46 |
|
|
47 |
import java.math.BigInteger; |
import java.math.BigInteger; |
48 |
|
|
49 |
|
import java.net.InetAddress; |
50 |
|
|
51 |
import java.security.AlgorithmParameters; |
import java.security.AlgorithmParameters; |
52 |
import java.security.InvalidKeyException; |
import java.security.InvalidKeyException; |
53 |
import java.security.KeyFactory; |
import java.security.KeyFactory; |
424 |
return subjectKey; |
return subjectKey; |
425 |
} |
} |
426 |
|
|
427 |
protected Object writeReplace() throws java.io.ObjectStreamException |
protected Object writeReplace() throws ObjectStreamException |
428 |
{ |
{ |
429 |
return super.writeReplace(); |
return super.writeReplace(); |
430 |
} |
} |
472 |
nameVal = new String((byte[]) name.getValue()); |
nameVal = new String((byte[]) name.getValue()); |
473 |
break; |
break; |
474 |
case IP_ADDRESS: |
case IP_ADDRESS: |
475 |
nameVal = java.net.InetAddress.getByAddress( |
nameVal = InetAddress.getByAddress( |
476 |
(byte[]) name.getValue()).getHostAddress(); |
(byte[]) name.getValue()).getHostAddress(); |
477 |
break; |
break; |
478 |
case REGISTERED_ID: |
case REGISTERED_ID: |