javax.xml.crypto
15 classes of the module java.xml.crypto.
Load them with:
using {
"javax.xml.crypto"
}
AlgorithmMethod#
interface · javax.xml.crypto.AlgorithmMethod
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlgorithm | getAlgorithm() | String getAlgorithm() |
getParameterSpec | getParameterSpec() | AlgorithmParameterSpec getParameterSpec() |
Data#
interface · javax.xml.crypto.Data
KeySelector#
abstract · extends Object · javax.xml.crypto.KeySelector
Methods
| Method | Ring call | Java overloads |
|---|---|---|
select | select(keyInfo,purpose,method,context) | KeySelectorResult select(KeyInfo keyInfo, Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) |
singletonKeySelector | singletonKeySelector(key) | static KeySelector singletonKeySelector(Key key) |
The methods and fields of Object are inherited.
KeySelectorException#
class · extends Exception · javax.xml.crypto.KeySelectorException
Constructors
new KeySelectorException() |
new KeySelectorException(Throwable cause) |
new KeySelectorException(String message) |
new KeySelectorException(String message, Throwable cause) |
Ring: new KeySelectorException(args) uses the constructor with the fewest parameters (at least one); new KeySelectorException makes the object with the constructor without parameters; the others: (new KeySelectorException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
KeySelectorPurpose#
class · extends Object · javax.xml.crypto.KeySelector$Purpose
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SIGN | Purpose | constant · static | o.SIGN |
VERIFY | Purpose | constant · static | o.VERIFY |
ENCRYPT | Purpose | constant · static | o.ENCRYPT |
DECRYPT | Purpose | constant · static | o.DECRYPT |
The methods and fields of Object are inherited.
KeySelectorResult#
interface · javax.xml.crypto.KeySelectorResult
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getKey | getKey() | Key getKey() |
MarshalException#
class · extends Exception · javax.xml.crypto.MarshalException
Constructors
new MarshalException() |
new MarshalException(Throwable cause) |
new MarshalException(String message) |
new MarshalException(String message, Throwable cause) |
Ring: new MarshalException(args) uses the constructor with the fewest parameters (at least one); new MarshalException makes the object with the constructor without parameters; the others: (new MarshalException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
NodeSetData#
interface · javax.xml.crypto.NodeSetData
NoSuchMechanismException#
class · extends RuntimeException · javax.xml.crypto.NoSuchMechanismException
Constructors
new NoSuchMechanismException() |
new NoSuchMechanismException(Throwable cause) |
new NoSuchMechanismException(String message) |
new NoSuchMechanismException(String message, Throwable cause) |
Ring: new NoSuchMechanismException(args) uses the constructor with the fewest parameters (at least one); new NoSuchMechanismException makes the object with the constructor without parameters; the others: (new NoSuchMechanismException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of RuntimeException are inherited.
OctetStreamData#
class · extends Object · javax.xml.crypto.OctetStreamData
Implements: Data
Constructors
new OctetStreamData(InputStream octetStream) |
new OctetStreamData(InputStream octetStream, String uri, String mimeType) |
Ring: new OctetStreamData(args) uses the constructor with the fewest parameters (at least one); new OctetStreamData makes the object with the constructor without parameters; the others: (new OctetStreamData).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMimeType | getMimeType() | String getMimeType() |
getOctetStream | getOctetStream() | InputStream getOctetStream() |
getURI | getURI() | String getURI() |
The methods and fields of Object are inherited.
URIDereferencer#
interface · javax.xml.crypto.URIDereferencer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dereference | dereference(uriReference,context) | Data dereference(URIReference uriReference, XMLCryptoContext context) |
URIReference#
interface · javax.xml.crypto.URIReference
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getType | getType() | String getType() |
getURI | getURI() | String getURI() |
URIReferenceException#
class · extends Exception · javax.xml.crypto.URIReferenceException
Constructors
new URIReferenceException() |
new URIReferenceException(Throwable cause) |
new URIReferenceException(String message) |
new URIReferenceException(String message, Throwable cause) |
new URIReferenceException(String message, Throwable cause, URIReference uriReference) |
Ring: new URIReferenceException(args) uses the constructor with the fewest parameters (at least one); new URIReferenceException makes the object with the constructor without parameters; the others: (new URIReferenceException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getURIReference | getURIReference() | URIReference getURIReference() |
The methods and fields of Exception are inherited.
XMLCryptoContext#
interface · javax.xml.crypto.XMLCryptoContext
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(key) | Object get(Object key) |
@put | @put(key,value) | Object put(Object key, Object value) |
getBaseURI | getBaseURI() | String getBaseURI() |
getDefaultNamespacePrefix | getDefaultNamespacePrefix() | String getDefaultNamespacePrefix() |
getKeySelector | getKeySelector() | KeySelector getKeySelector() |
getNamespacePrefix | getNamespacePrefix(namespaceURI,defaultPrefix) | String getNamespacePrefix(String namespaceURI, String defaultPrefix) |
getProperty | getProperty(name) | Object getProperty(String name) |
getURIDereferencer | getURIDereferencer() | URIDereferencer getURIDereferencer() |
putNamespacePrefix | putNamespacePrefix(namespaceURI,prefix) | String putNamespacePrefix(String namespaceURI, String prefix) |
setBaseURI | setBaseURI(baseURI) | void setBaseURI(String baseURI) |
setDefaultNamespacePrefix | setDefaultNamespacePrefix(defaultPrefix) | void setDefaultNamespacePrefix(String defaultPrefix) |
setKeySelector | setKeySelector(ks) | void setKeySelector(KeySelector ks) |
setProperty | setProperty(name,value) | Object setProperty(String name, Object value) |
setURIDereferencer | setURIDereferencer(dereferencer) | void setURIDereferencer(URIDereferencer dereferencer) |
XMLStructure#
interface · javax.xml.crypto.XMLStructure
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isFeatureSupported | isFeatureSupported(feature) | boolean isFeatureSupported(String feature) |