Class Reference
- java.lang.Object
-
- com.sun.xml.security.core.dsig.ReferenceType
-
- 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, [email protected]
-
-
Field Summary
-
Fields inherited from class com.sun.xml.security.core.dsig.ReferenceType
digestMethod, digestValue, id, transforms, type, uri
-
-
Constructor Summary
Constructors Constructor Description Reference()
Creates a new instance of Reference
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getCalculatedDigestValue
public byte[] getCalculatedDigestValue()
- Specified by:
getCalculatedDigestValue
in interfaceReference
-
validate
public boolean validate(XMLValidateContext xMLValidateContext) throws XMLSignatureException
- Specified by:
validate
in interfaceReference
- 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 interfaceReference
-
getDigestInputStream
public InputStream getDigestInputStream()
- Specified by:
getDigestInputStream
in interfaceReference
-
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupported
in interfaceXMLStructure
-
getDigestMethod
public DigestMethod getDigestMethod()
Description copied from class:ReferenceType
Gets the value of the digestMethod property.- Specified by:
getDigestMethod
in interfaceReference
- Overrides:
getDigestMethod
in classReferenceType
- Returns:
- possible object is
DigestMethodType
-
getTransforms
public List getTransforms()
- Specified by:
getTransforms
in interfaceReference
-
-