com.sun.xml.ws.security.opt.crypto.dsig
Class Reference

java.lang.Object
  extended by com.sun.xml.security.core.dsig.ReferenceType
      extended by com.sun.xml.ws.security.opt.crypto.dsig.Reference
All Implemented Interfaces:
Reference, URIReference, XMLStructure

public class Reference
extends ReferenceType
implements Reference

Author:
Abhijit Das, K.Venugopal@sun.com

Field Summary
 
Fields inherited from class com.sun.xml.security.core.dsig.ReferenceType
digestMethod, digestValue, id, transforms, type, uri
 
Constructor Summary
Reference()
          Creates a new instance of Reference
 
Method Summary
 void digest(XMLCryptoContext signContext)
           
 byte[] getCalculatedDigestValue()
           
 Data getDereferencedData()
           
 InputStream getDigestInputStream()
           
 DigestMethod getDigestMethod()
          Gets the value of the digestMethod property.
 DigesterOutputStream getDigestOutputStream()
           
 List getTransforms()
           
 boolean isFeatureSupported(String string)
           
 boolean validate(XMLValidateContext xMLValidateContext)
           
 
Methods inherited from class com.sun.xml.security.core.dsig.ReferenceType
getDigestValue, getId, getType, getURI, setDigestMethod, setDigestValue, setId, setTransforms, setType, setURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.crypto.dsig.Reference
getDigestValue, getId
 
Methods inherited from interface javax.xml.crypto.URIReference
getType, getURI
 

Constructor Detail

Reference

public Reference()
Creates a new instance of Reference

Method Detail

getCalculatedDigestValue

public byte[] getCalculatedDigestValue()
Specified by:
getCalculatedDigestValue in interface Reference

validate

public boolean validate(XMLValidateContext xMLValidateContext)
                 throws XMLSignatureException
Specified by:
validate in interface Reference
Throws:
XMLSignatureException

digest

public void digest(XMLCryptoContext signContext)
            throws XMLSignatureException
Throws:
XMLSignatureException

getDigestOutputStream

public DigesterOutputStream getDigestOutputStream()
                                           throws XMLSignatureException
Throws:
XMLSignatureException

getDereferencedData

public Data getDereferencedData()
Specified by:
getDereferencedData in interface Reference

getDigestInputStream

public InputStream getDigestInputStream()
Specified by:
getDigestInputStream in interface Reference

isFeatureSupported

public boolean isFeatureSupported(String string)
Specified by:
isFeatureSupported in interface XMLStructure

getDigestMethod

public DigestMethod getDigestMethod()
Description copied from class: ReferenceType
Gets the value of the digestMethod property.

Specified by:
getDigestMethod in interface Reference
Overrides:
getDigestMethod in class ReferenceType
Returns:
possible object is DigestMethodType

getTransforms

public List getTransforms()
Specified by:
getTransforms in interface Reference


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