Skip navigation links
oracle.wsm.security.policy.scenario.policycompliance.impl
Class PolicyComplianceUtils
java.lang.Object
oracle.wsm.security.policy.scenario.policycompliance.impl.PolicyComplianceUtils
-
public class PolicyComplianceUtils
- extends Object
Method Summary |
static List<oracle.security.xmlsec.enc.XEReferenceList> |
getReferenceLists(oracle.security.xmlsec.wss.WSSecurity sec)
|
static boolean |
isComplianceCheckRequired(IExecutionContext exContext)
|
static boolean |
isEndorsingSignature(oracle.security.xmlsec.wss.WSSecurity wssSec, oracle.security.xmlsec.dsig.XSSignature signature)
The logic should be to match Id attribute of BinarySecurityToken and the reference URI attribute of the signature. |
static boolean |
isPrimarySignature(String stage, oracle.security.xmlsec.wss.WSSecurity wssSec, oracle.security.xmlsec.dsig.XSSignature signature, List<oracle.security.xmlsec.enc.XEEncryptedKey> encKeys)
This method will tell whether a particular signature is a message signature or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyComplianceUtils
public PolicyComplianceUtils()
isEndorsingSignature
public static boolean isEndorsingSignature(oracle.security.xmlsec.wss.WSSecurity wssSec,
oracle.security.xmlsec.dsig.XSSignature signature)
- The logic should be to match Id attribute of BinarySecurityToken and the reference URI attribute of the signature. That should give the endorsing signature
isPrimarySignature
public static boolean isPrimarySignature(String stage,
oracle.security.xmlsec.wss.WSSecurity wssSec,
oracle.security.xmlsec.dsig.XSSignature signature,
List<oracle.security.xmlsec.enc.XEEncryptedKey> encKeys)
- This method will tell whether a particular signature is a message signature or not. This primararily compares the ID attribute of the EncryptedKey element and compares with the URI of the Reference inside KeyInfo
-
- Parameters:
wssSec
- : The WSSecuity header
signature
- : The signature to be checked whether message signature or not
getReferenceLists
public static List<oracle.security.xmlsec.enc.XEReferenceList> getReferenceLists(oracle.security.xmlsec.wss.WSSecurity sec)
isComplianceCheckRequired
public static boolean isComplianceCheckRequired(IExecutionContext exContext)
Skip navigation links
Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.