| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final Data | |
| private byte[] | |
| private Data | |
| private boolean | |
| private final DigestMethod | |
| private byte[] | |
| private InputStream | |
| private Attr | |
| private final String | |
| private static final Logger | |
| public static final int | MAXIMUM_TRANSFORM_COUNT
The maximum number of transforms per reference, if secure validation is enabled. |
| private MessageDigest | |
| private Provider | |
| private Element | |
| private final List | |
| private final String | |
| private final String | |
| private static boolean | useC14N11
Look up useC14N11 system property. |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | DOMReference(String
the URI (may be null) uri, String the type (may be null) type, DigestMethod the digest method dm, List<? extends Transform> a list of transforms, String Transforms. The list
is defensively copied to protect against subsequent modification.
May be null or empty.the reference ID (may be id, Provider provider)null)Creates a |
| public | |
| public | |
| public | DOMReference(Element
a Reference element refElem, XMLCryptoContext context, Provider provider)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| private static Data | |
| private Data | |
| public void | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public byte[] | getCalculatedDigestValue()
Implements javax. Returns the calculated digest value of this |
| public Data | getDereferencedData()
Implements javax. Returns the dereferenced data, if reference caching is enabled. |
| public InputStream | getDigestInputStream()
Implements javax. Returns the pre-digested input stream, if reference caching is enabled. |
| public DigestMethod | getDigestMethod()
Implements javax. Returns the digest method of this |
| public byte[] | getDigestValue()
Implements javax. Returns the digest value of this |
| public Node | |
| public String | getId()
Implements javax. Returns the optional |
| public List | getTransforms()
Implements javax. Returns an |
| public String | getType()
Implements javax. Returns the type of data referenced by this URI. |
| public String | getURI()
Implements javax. Returns the URI of the referenced data object. |
| public int | |
| pack-priv boolean | |
| public void | marshal(Node parent, String dsPrefix, DOMCryptoContext context)
Implements abstract org.
|
| private byte[] | |
| public boolean | validate(XMLValidateContext validateContext)
Implements javax. Validates this reference. |
| allTransforms | back to summary |
|---|---|
| private List<Transform> allTransforms | |
| appliedTransformData | back to summary |
|---|---|
| private final Data appliedTransformData | |
| calcDigestValue | back to summary |
|---|---|
| private byte[] calcDigestValue | |
| derefData | back to summary |
|---|---|
| private Data derefData | |
| digested | back to summary |
|---|---|
| private boolean digested | |
| digestMethod | back to summary |
|---|---|
| private final DigestMethod digestMethod | |
| digestValue | back to summary |
|---|---|
| private byte[] digestValue | |
| dis | back to summary |
|---|---|
| private InputStream dis | |
| here | back to summary |
|---|---|
| private Attr here | |
| id | back to summary |
|---|---|
| private final String id | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| MAXIMUM_TRANSFORM_COUNT | back to summary |
|---|---|
| public static final int MAXIMUM_TRANSFORM_COUNT The maximum number of transforms per reference, if secure validation is enabled. | |
| md | back to summary |
|---|---|
| private MessageDigest md | |
| provider | back to summary |
|---|---|
| private Provider provider | |
| refElem | back to summary |
|---|---|
| private Element refElem | |
| transforms | back to summary |
|---|---|
| private final List<Transform> transforms | |
| type | back to summary |
|---|---|
| private final String type | |
| uri | back to summary |
|---|---|
| private final String uri | |
| useC14N11 | back to summary |
|---|---|
| private static boolean useC14N11 Look up useC14N11 system property. If true, an explicit C14N11 transform will be added if necessary when generating the signature. See section 3.1.1 of http://www.w3.org/2007/xmlsec/Drafts/xmldsig-core/ for more info. If true, overrides the same property if set in the XMLSignContext.
| |
| validated | back to summary |
|---|---|
| private boolean validated | |
| validationStatus | back to summary |
|---|---|
| private boolean validationStatus | |
| DOMReference | back to summary |
|---|---|
| public DOMReference(String uri, String type, DigestMethod dm, List<? extends Transform> transforms, String id, Provider provider) Creates a
| |
| DOMReference | back to summary |
|---|---|
| public DOMReference(String uri, String type, DigestMethod dm, List<? extends Transform> appliedTransforms, Data result, List<? extends Transform> transforms, String id, Provider provider) | |
| DOMReference | back to summary |
|---|---|
| public DOMReference(String uri, String type, DigestMethod dm, List<? extends Transform> appliedTransforms, Data result, List<? extends Transform> transforms, String id, byte[] digestValue, Provider provider) | |
| DOMReference | back to summary |
|---|---|
| public DOMReference(Element refElem, XMLCryptoContext context, Provider provider) throws MarshalException Creates a
| |
| copyDerefData | back to summary |
|---|---|
| private static Data copyDerefData(Data dereferencedData) | |
| dereference | back to summary |
|---|---|
| private Data dereference(XMLCryptoContext context) throws XMLSignatureException | |
| digest | back to summary |
|---|---|
| public void digest(XMLSignContext signContext) throws XMLSignatureException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCalculatedDigestValue | back to summary |
|---|---|
| public byte[] getCalculatedDigestValue() Implements javax. Doc from javax. Returns the calculated digest value of this
| |
| getDereferencedData | back to summary |
|---|---|
| public Data getDereferencedData() Implements javax. Doc from javax. Returns the dereferenced data, if reference caching is enabled. This is the result of dereferencing the URI of this reference during a validation or generation operation.
| |
| getDigestInputStream | back to summary |
|---|---|
| public InputStream getDigestInputStream() Implements javax. Doc from javax. Returns the pre-digested input stream, if reference caching is enabled. This is the input to the digest operation during a validation or signing operation.
| |
| getDigestMethod | back to summary |
|---|---|
| public DigestMethod getDigestMethod() Implements javax. Doc from javax. Returns the digest method of this
| |
| getDigestValue | back to summary |
|---|---|
| public byte[] getDigestValue() Implements javax. Doc from javax. Returns the digest value of this
| |
| getHere | back to summary |
|---|---|
| public Node getHere() Implements javax. Doc from javax. Returns the here node.
| |
| getId | back to summary |
|---|---|
| public String getId() Implements javax. Doc from javax. Returns the optional
| |
| getTransforms | back to summary |
|---|---|
| public List Implements javax. Doc from javax. Returns an
| |
| getType | back to summary |
|---|---|
| public String getType() Implements javax. Doc from javax. Returns the type of data referenced by this URI.
| |
| getURI | back to summary |
|---|---|
| public String getURI() Implements javax. Doc from javax. Returns the URI of the referenced data object.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isDigested | back to summary |
|---|---|
| pack-priv boolean isDigested() | |
| marshal | back to summary |
|---|---|
| public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException Implements abstract org.
| |
| transform | back to summary |
|---|---|
| private byte[] transform(Data dereferencedData, XMLCryptoContext context) throws XMLSignatureException | |
| validate | back to summary |
|---|---|
| public boolean validate(XMLValidateContext validateContext) throws XMLSignatureException Implements javax. Doc from javax. Validates this reference. This method verifies the digest of this reference. This method only validates the reference the first time it is invoked. On subsequent invocations, it returns a cached result.
| |