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