Class SecurityUtils
java.lang.Object
com.sun.identity.liberty.ws.security.SecurityUtils
This class has common utility methods .
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Certificate
getCertificate
(BinarySecurityToken binarySecurityToken) Get Certificate from X509 Security Token Profile document.static Certificate
getCertificate
(SecurityAssertion assertion) Gets the Certificate from theAssertion
.
-
Constructor Details
-
SecurityUtils
public SecurityUtils()
-
-
Method Details
-
getCertificate
Get Certificate from X509 Security Token Profile document.- Parameters:
binarySecurityToken
- the Security Token.- Returns:
- X509 Certificate object.
-
getCertificate
Gets the Certificate from theAssertion
.- Parameters:
assertion
- the SAMLAssertion
.- Returns:
X509Certificate
object.
-