Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.security.policy.scenario.policycompliance.impl
Class PolicyComplianceUtils

java.lang.Object
  extended by oracle.wsm.security.policy.scenario.policycompliance.impl.PolicyComplianceUtils


public class PolicyComplianceUtils
extends Object

Nested Class Summary
static class PolicyComplianceUtils.ReferenceMechTypes
          Enum represents different Reference Mechanisms which would be used for signing/ encryption
static class PolicyComplianceUtils.X509TokenProcessorUtils
           

 

Constructor Summary
PolicyComplianceUtils()
           

 

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

 

Constructor Detail

PolicyComplianceUtils

public PolicyComplianceUtils()

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.