|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Protector
| Method Summary | |
|---|---|
org.w3c.dom.Element |
decrypt(ProtectedStringType protectedString)
|
java.lang.String |
decryptString(ProtectedStringType protectedString)
|
ProtectedStringType |
encrypt(org.w3c.dom.Element plain)
|
void |
encrypt(ProtectedStringType ps)
Encrypts the ProtectedStringType "in place". |
ProtectedStringType |
encryptString(java.lang.String text)
|
java.util.List<javax.net.ssl.TrustManager> |
getTrustManagers()
Returns a list of trust managers that will be used to validate communicating party credentials. |
boolean |
isEncrypted(ProtectedStringType ps)
Returns true if protected string contains encrypted data that seems valid. |
| Method Detail |
|---|
java.lang.String decryptString(ProtectedStringType protectedString)
throws EncryptionException
protectedString -
EncryptionException - this is thrown probably in case JRE/JDK doesn't have JCE
installed
java.lang.IllegalArgumentException - if protectedString argument is null or EncryptedData in
protectedString argument is null
org.w3c.dom.Element decrypt(ProtectedStringType protectedString)
throws EncryptionException
protectedString -
Element
EncryptionException - this is thrown probably in case JRE/JDK doesn't have JCE
installed
java.lang.IllegalArgumentException - if protectedString argument is null or EncryptedData in
protectedString argument is null
ProtectedStringType encryptString(java.lang.String text)
throws EncryptionException
text -
ProtectedStringType with encrypted string inside it. If
input argument is null or empty, method returns null.
EncryptionException - this is thrown probably in case JRE/JDK doesn't have JCE
installed
ProtectedStringType encrypt(org.w3c.dom.Element plain)
throws EncryptionException
plain -
ProtectedStringType with encrypted element inside it. If
input argument is null, method returns null.
EncryptionException - this is thrown probably in case JRE/JDK doesn't have JCE
installed
void encrypt(ProtectedStringType ps)
throws EncryptionException
ps -
EncryptionExceptionboolean isEncrypted(ProtectedStringType ps)
java.util.List<javax.net.ssl.TrustManager> getTrustManagers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||