com.sun.xml.ws.security.opt.impl.incoming.processor
Class SignedInfoProcessor

java.lang.Object
  extended by com.sun.xml.ws.security.opt.impl.incoming.processor.SignedInfoProcessor

public class SignedInfoProcessor
extends java.lang.Object

Author:
K.Venugopal@sun.com

Field Summary
static java.lang.String CANONICALIZATION_METHOD
           
static int CANONICALIZATION_METHOD_EVENT
           
static java.lang.String DIGEST_METHOD
           
static int DIGEST_METHOD_EVENT
           
static java.lang.String DIGEST_VALUE
           
static int DIGEST_VALUE_EVENT
           
static java.lang.String EXC14N_NS
           
static java.lang.String INCLUSIVENAMESPACES
           
static java.lang.String REFERENCE
           
static int REFERENCE_EVENT
           
static java.lang.String SIGNATURE_METHOD
           
static int SIGNATURE_METHOD_EVENT
           
static java.lang.String TRANSFORM
           
static int TRANSFORM_EVENT
           
static java.lang.String TRANSFORMS
           
static int TRANSFORMS_EVENT
           
 
Constructor Summary
SignedInfoProcessor(com.sun.xml.ws.encoding.TagInfoset signature, java.util.HashMap<java.lang.String,java.lang.String> parentNSDecls, javax.xml.stream.XMLStreamReader reader, JAXBFilterProcessingContext pc, SignaturePolicy signPolicy, MutableXMLStreamBuffer buffer)
          Creates a new instance of SignedInfoProcessor
 
Method Summary
 javax.xml.stream.XMLStreamWriter getCanonicalizer()
           
 int getReferenceEventType(javax.xml.stream.XMLStreamReader reader)
           
 java.util.ArrayList<Reference> getReferenceList()
           
 SignedInfo process()
          processes different types the SignedInfo element of an XMLSignature
 boolean processReference(Reference reference)
          processes the given reference
 void readCanonicalizationMethod(javax.xml.stream.XMLStreamReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANONICALIZATION_METHOD_EVENT

public static final int CANONICALIZATION_METHOD_EVENT
See Also:
Constant Field Values

SIGNATURE_METHOD_EVENT

public static final int SIGNATURE_METHOD_EVENT
See Also:
Constant Field Values

REFERENCE_EVENT

public static final int REFERENCE_EVENT
See Also:
Constant Field Values

DIGEST_METHOD_EVENT

public static final int DIGEST_METHOD_EVENT
See Also:
Constant Field Values

DIGEST_VALUE_EVENT

public static final int DIGEST_VALUE_EVENT
See Also:
Constant Field Values

TRANSFORM_EVENT

public static final int TRANSFORM_EVENT
See Also:
Constant Field Values

TRANSFORMS_EVENT

public static final int TRANSFORMS_EVENT
See Also:
Constant Field Values

CANONICALIZATION_METHOD

public static final java.lang.String CANONICALIZATION_METHOD
See Also:
Constant Field Values

SIGNATURE_METHOD

public static final java.lang.String SIGNATURE_METHOD
See Also:
Constant Field Values

REFERENCE

public static final java.lang.String REFERENCE
See Also:
Constant Field Values

INCLUSIVENAMESPACES

public static final java.lang.String INCLUSIVENAMESPACES
See Also:
Constant Field Values

EXC14N_NS

public static final java.lang.String EXC14N_NS
See Also:
Constant Field Values

TRANSFORMS

public static final java.lang.String TRANSFORMS
See Also:
Constant Field Values

TRANSFORM

public static final java.lang.String TRANSFORM
See Also:
Constant Field Values

DIGEST_METHOD

public static final java.lang.String DIGEST_METHOD
See Also:
Constant Field Values

DIGEST_VALUE

public static final java.lang.String DIGEST_VALUE
See Also:
Constant Field Values
Constructor Detail

SignedInfoProcessor

public SignedInfoProcessor(com.sun.xml.ws.encoding.TagInfoset signature,
                           java.util.HashMap<java.lang.String,java.lang.String> parentNSDecls,
                           javax.xml.stream.XMLStreamReader reader,
                           JAXBFilterProcessingContext pc,
                           SignaturePolicy signPolicy,
                           MutableXMLStreamBuffer buffer)
Creates a new instance of SignedInfoProcessor

Method Detail

getCanonicalizer

public javax.xml.stream.XMLStreamWriter getCanonicalizer()

process

public SignedInfo process()
                   throws XWSSecurityException
processes different types the SignedInfo element of an XMLSignature

Returns:
SignedInfo
Throws:
XWSSecurityException

readCanonicalizationMethod

public void readCanonicalizationMethod(javax.xml.stream.XMLStreamReader reader)
                                throws XWSSecurityException
Parameters:
reader - XMLStreamReader
Throws:
XWSSecurityException

processReference

public boolean processReference(Reference reference)
                         throws XWSSecurityException
processes the given reference

Parameters:
reference - Reference
Returns:
boolean
Throws:
XWSSecurityException

getReferenceList

public java.util.ArrayList<Reference> getReferenceList()

getReferenceEventType

public int getReferenceEventType(javax.xml.stream.XMLStreamReader reader)


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.