equal
deleted
inserted
replaced
60 public byte[] getEncoded() { |
60 public byte[] getEncoded() { |
61 return null; |
61 return null; |
62 } |
62 } |
63 |
63 |
64 public String toString() { |
64 public String toString() { |
65 return algorithm + "PrivateKey [size=" + keyLength + " bits, type=" + |
65 if (handles.hCryptKey != 0) { |
66 getKeyType(handles.hCryptKey) + ", container=" + |
66 return algorithm + "PrivateKey [size=" + keyLength + " bits, type=" + |
67 getContainerName(handles.hCryptProv) + "]"; |
67 getKeyType(handles.hCryptKey) + ", container=" + |
|
68 getContainerName(handles.hCryptProv) + "]"; |
|
69 } else { |
|
70 return algorithm + "PrivateKey [size=" + keyLength + " bits, type=CNG]"; |
|
71 } |
68 } |
72 } |
69 |
73 |
70 // This class is not serializable |
74 // This class is not serializable |
71 private void writeObject(java.io.ObjectOutputStream out) |
75 private void writeObject(java.io.ObjectOutputStream out) |
72 throws java.io.IOException { |
76 throws java.io.IOException { |