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
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddigest(XMLCryptoContext signContext) byte[]Gets the value of the digestMethod property.booleanisFeatureSupported(String string) booleanvalidate(XMLValidateContext xMLValidateContext) Methods inherited from class com.sun.xml.security.core.dsig.ReferenceType
getDigestValue, getId, getType, getURI, setDigestMethod, setDigestValue, setId, setTransforms, setType, setURIMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.dsig.Reference
getDigestValue, getIdMethods inherited from interface javax.xml.crypto.URIReference
getType, getURI
-
Constructor Details
-
Reference
public Reference()Creates a new instance of Reference
-
-
Method Details
-
getCalculatedDigestValue
public byte[] getCalculatedDigestValue()- Specified by:
getCalculatedDigestValuein interfaceReference
-
validate
- Specified by:
validatein interfaceReference- Throws:
XMLSignatureException
-
digest
- Throws:
XMLSignatureException
-
getDigestOutputStream
- Throws:
XMLSignatureException
-
getDereferencedData
- Specified by:
getDereferencedDatain interfaceReference
-
getDigestInputStream
- Specified by:
getDigestInputStreamin interfaceReference
-
isFeatureSupported
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
getDigestMethod
Description copied from class:ReferenceTypeGets the value of the digestMethod property.- Specified by:
getDigestMethodin interfaceReference- Overrides:
getDigestMethodin classReferenceType- Returns:
- possible object is
DigestMethodType
-
getTransforms
- Specified by:
getTransformsin interfaceReference
-