public class SecurityUtils extends Object
Constructor and Description |
---|
SecurityUtils() |
Modifier and Type | Method and Description |
---|---|
static Certificate |
getCertificate(BinarySecurityToken binarySecurityToken)
Get Certificate from X509 Security Token Profile document.
|
static Certificate |
getCertificate(SecurityAssertion assertion)
Gets the Certificate from the
Assertion . |
static XMLSignatureManager |
getSignatureManager()
Returns XML Signature instance.
|
static Element |
signMessage(Message m) |
static boolean |
verifyMessage(Message m)
Verify all the signatures of the of Message object passed
from Soap Binding.
|
public static boolean verifyMessage(Message m)
m
- Message object whose signature to be verifiedpublic static Certificate getCertificate(BinarySecurityToken binarySecurityToken)
binarySecurityToken
- the Security Token.public static Certificate getCertificate(SecurityAssertion assertion)
Assertion
.assertion
- the SAML Assertion
.X509Certificate
object.public static XMLSignatureManager getSignatureManager()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.