com.sun.xml.ws.security.opt.crypto.dsig
Class Reference
java.lang.Object
com.sun.xml.security.core.dsig.ReferenceType
com.sun.xml.ws.security.opt.crypto.dsig.Reference
- All Implemented Interfaces:
- javax.xml.crypto.dsig.Reference, javax.xml.crypto.URIReference, javax.xml.crypto.XMLStructure
public class Reference
- extends ReferenceType
- implements javax.xml.crypto.dsig.Reference
- Author:
- Abhijit Das, K.Venugopal@sun.com
|
Constructor Summary |
Reference()
Creates a new instance of Reference |
| 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 |
Reference
public Reference()
- Creates a new instance of Reference
getCalculatedDigestValue
public byte[] getCalculatedDigestValue()
- Specified by:
getCalculatedDigestValue in interface javax.xml.crypto.dsig.Reference
validate
public boolean validate(javax.xml.crypto.dsig.XMLValidateContext xMLValidateContext)
throws javax.xml.crypto.dsig.XMLSignatureException
- Specified by:
validate in interface javax.xml.crypto.dsig.Reference
- Throws:
javax.xml.crypto.dsig.XMLSignatureException
digest
public void digest(javax.xml.crypto.XMLCryptoContext signContext)
throws javax.xml.crypto.dsig.XMLSignatureException
- Throws:
javax.xml.crypto.dsig.XMLSignatureException
getDigestOutputStream
public DigesterOutputStream getDigestOutputStream()
throws javax.xml.crypto.dsig.XMLSignatureException
- Throws:
javax.xml.crypto.dsig.XMLSignatureException
getDereferencedData
public javax.xml.crypto.Data getDereferencedData()
- Specified by:
getDereferencedData in interface javax.xml.crypto.dsig.Reference
getDigestInputStream
public InputStream getDigestInputStream()
- Specified by:
getDigestInputStream in interface javax.xml.crypto.dsig.Reference
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupported in interface javax.xml.crypto.XMLStructure
getDigestMethod
public DigestMethod getDigestMethod()
- Description copied from class:
ReferenceType
- Gets the value of the digestMethod property.
- Specified by:
getDigestMethod in interface javax.xml.crypto.dsig.Reference- Overrides:
getDigestMethod in class ReferenceType
- Returns:
- possible object is
DigestMethodType
getTransforms
public List getTransforms()
- Specified by:
getTransforms in interface javax.xml.crypto.dsig.Reference
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.