public class RetrievalMethodImpl extends ReferenceType implements RetrievalMethod
RetrievalMethod element that supports
the DOM XML representation and processing mechanism.ReferenceType.SubTreeNodeSetFixDOMStructure.NodeWrapper| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_ENCRYPTEDKEY_
The encrypted key type URI reference.
|
static String |
TYPE_RAW_X509_CERTIFICATE
The raw X509 certificate type URI reference.
|
cachedCanonInputData_, cachedDereferencedData_, cachedDigestInput_, id_, result_, transforms_type_, uri_implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED| Constructor and Description |
|---|
RetrievalMethodImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
RetrievalMethodImpl with the
specified context and node to unmarshal from. |
RetrievalMethodImpl(String uri,
String type,
List transforms)
Creates a new instance of this
RetrievalMethodImpl with the
specified URI reference, type-attribute value and list of
TransformImpls. |
| Modifier and Type | Method and Description |
|---|---|
Data |
dereference(XMLCryptoContext context)
Dereferences this
ReferenceType according to reference
processing rules of XMLDSig. |
String |
getLocalName()
Returns the local name of the represented XML element.
|
String |
getNamespace()
Returns the namespace URI of the represented XML element.
|
dereferenceAndCanonicalize, dereferenceButDontTransform, getCanonInputData, getChildStructures, getDereferencedData, getId, getTransforms, marshalIDAttribute, putChildStructure, unmarshalAttributesgetHere, getType, getURI, marshalAttributesaddBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructureVersion, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalElement, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalElement, unmarshalIDAttribute, unmarshalStructures, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTransforms, getURIgetTypeisFeatureSupportedpublic static final String TYPE_RAW_X509_CERTIFICATE
public static final String TYPE_ENCRYPTEDKEY_
public RetrievalMethodImpl(DOMCryptoContext context, Node node) throws MarshalException
RetrievalMethodImpl with the
specified context and node to unmarshal from.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic RetrievalMethodImpl(String uri, String type, List transforms)
RetrievalMethodImpl with the
specified URI reference, type-attribute value and list of
TransformImpls.uri - the URI reference (must be RFC 2396 compliant)type - the type-attribute valuetransforms - a list of XMLStructures (may be null or empty)NullPointerException - if uri is nullIllegalArgumentException - if uri is not RFC 2396 compliantClassCastException - if any of the transforms is not of type
TransformImplpublic String getLocalName()
DOMStructuregetLocalName in class ReferenceTypeDOMStructure.getLocalName()public String getNamespace()
DOMStructuregetNamespace in class DOMStructureDOMStructure.getNamespace()public Data dereference(XMLCryptoContext context) throws URIReferenceException
ReferenceTypeReferenceType according to reference
processing rules of XMLDSig.dereference in interface RetrievalMethoddereference in class ReferenceTypecontext - the contextData after dereferencing this ReferenceTypeURIReferenceException - if an exception occurs during dereferencingReferenceType.dereference(javax.xml.crypto.XMLCryptoContext)© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC