RingJavafor Ring

javax.xml.crypto.dsig

18 classes of the module java.xml.crypto.

Load them with:

using {
	"javax.xml.crypto.dsig"
}

All packages

CanonicalizationMethod#

interface · javax.xml.crypto.dsig.CanonicalizationMethod

Extends: Transform

Fields

NameTypeAccessIn Ring
INCLUSIVEStringconstant · statico.INCLUSIVE
INCLUSIVE_WITH_COMMENTSStringconstant · statico.INCLUSIVE_WITH_COMMENTS
EXCLUSIVEStringconstant · statico.EXCLUSIVE
EXCLUSIVE_WITH_COMMENTSStringconstant · statico.EXCLUSIVE_WITH_COMMENTS
INCLUSIVE_11Stringconstant · statico.INCLUSIVE_11
INCLUSIVE_11_WITH_COMMENTSStringconstant · statico.INCLUSIVE_11_WITH_COMMENTS
BASE64Stringconstant · statico.BASE64
ENVELOPEDStringconstant · statico.ENVELOPED
XPATHStringconstant · statico.XPATH
XPATH2Stringconstant · statico.XPATH2
XSLTStringconstant · statico.XSLT

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
transformtransform([data,context])
transform([ :data = v, :context = v ])
transform([data,context,os])
transform([ :data = v, :context = v, :os = v ])
Data transform(Data data, XMLCryptoContext context)
Data transform(Data data, XMLCryptoContext context, OutputStream os)

DigestMethod#

interface · javax.xml.crypto.dsig.DigestMethod

Extends: XMLStructure, AlgorithmMethod

Fields

NameTypeAccessIn Ring
SHA1Stringconstant · statico.SHA1
SHA224Stringconstant · statico.SHA224
SHA256Stringconstant · statico.SHA256
SHA384Stringconstant · statico.SHA384
SHA512Stringconstant · statico.SHA512
RIPEMD160Stringconstant · statico.RIPEMD160
SHA3_224Stringconstant · statico.SHA3_224
SHA3_256Stringconstant · statico.SHA3_256
SHA3_384Stringconstant · statico.SHA3_384
SHA3_512Stringconstant · statico.SHA3_512

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

DsigManifest#

interface · javax.xml.crypto.dsig.Manifest

Extends: XMLStructure

Fields

NameTypeAccessIn Ring
TYPEStringconstant · statico.TYPE

Methods

MethodRing callJava overloads
getIdgetId()String getId()
getReferencesgetReferences()List getReferences()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

DsigReference#

interface · javax.xml.crypto.dsig.Reference

Extends: URIReference, XMLStructure

Methods

MethodRing callJava overloads
getCalculatedDigestValuegetCalculatedDigestValue()byte[] getCalculatedDigestValue()
getDereferencedDatagetDereferencedData()Data getDereferencedData()
getDigestInputStreamgetDigestInputStream()InputStream getDigestInputStream()
getDigestMethodgetDigestMethod()DigestMethod getDigestMethod()
getDigestValuegetDigestValue()byte[] getDigestValue()
getIdgetId()String getId()
getTransformsgetTransforms()List getTransforms()
getTypegetType()String getType()
getURIgetURI()String getURI()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
validatevalidate(validateContext)boolean validate(XMLValidateContext validateContext)

SignatureMethod#

interface · javax.xml.crypto.dsig.SignatureMethod

Extends: XMLStructure, AlgorithmMethod

Fields

NameTypeAccessIn Ring
DSA_SHA1Stringconstant · statico.DSA_SHA1
DSA_SHA256Stringconstant · statico.DSA_SHA256
RSA_SHA1Stringconstant · statico.RSA_SHA1
RSA_SHA224Stringconstant · statico.RSA_SHA224
RSA_SHA256Stringconstant · statico.RSA_SHA256
RSA_SHA384Stringconstant · statico.RSA_SHA384
RSA_SHA512Stringconstant · statico.RSA_SHA512
SHA1_RSA_MGF1Stringconstant · statico.SHA1_RSA_MGF1
SHA224_RSA_MGF1Stringconstant · statico.SHA224_RSA_MGF1
SHA256_RSA_MGF1Stringconstant · statico.SHA256_RSA_MGF1
SHA384_RSA_MGF1Stringconstant · statico.SHA384_RSA_MGF1
SHA512_RSA_MGF1Stringconstant · statico.SHA512_RSA_MGF1
ECDSA_SHA1Stringconstant · statico.ECDSA_SHA1
ECDSA_SHA224Stringconstant · statico.ECDSA_SHA224
ECDSA_SHA256Stringconstant · statico.ECDSA_SHA256
ECDSA_SHA384Stringconstant · statico.ECDSA_SHA384
ECDSA_SHA512Stringconstant · statico.ECDSA_SHA512
HMAC_SHA1Stringconstant · statico.HMAC_SHA1
HMAC_SHA224Stringconstant · statico.HMAC_SHA224
HMAC_SHA256Stringconstant · statico.HMAC_SHA256
HMAC_SHA384Stringconstant · statico.HMAC_SHA384
HMAC_SHA512Stringconstant · statico.HMAC_SHA512
RSA_PSSStringconstant · statico.RSA_PSS
ED25519Stringconstant · statico.ED25519
ED448Stringconstant · statico.ED448
SHA3_224_RSA_MGF1Stringconstant · statico.SHA3_224_RSA_MGF1
SHA3_256_RSA_MGF1Stringconstant · statico.SHA3_256_RSA_MGF1
SHA3_384_RSA_MGF1Stringconstant · statico.SHA3_384_RSA_MGF1
SHA3_512_RSA_MGF1Stringconstant · statico.SHA3_512_RSA_MGF1
ECDSA_SHA3_224Stringconstant · statico.ECDSA_SHA3_224
ECDSA_SHA3_256Stringconstant · statico.ECDSA_SHA3_256
ECDSA_SHA3_384Stringconstant · statico.ECDSA_SHA3_384
ECDSA_SHA3_512Stringconstant · statico.ECDSA_SHA3_512

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

SignatureProperties#

interface · javax.xml.crypto.dsig.SignatureProperties

Extends: XMLStructure

Fields

NameTypeAccessIn Ring
TYPEStringconstant · statico.TYPE

Methods

MethodRing callJava overloads
getIdgetId()String getId()
getPropertiesgetProperties()List getProperties()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

SignatureProperty#

interface · javax.xml.crypto.dsig.SignatureProperty

Extends: XMLStructure

Methods

MethodRing callJava overloads
getContentgetContent()List getContent()
getIdgetId()String getId()
getTargetgetTarget()String getTarget()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

SignedInfo#

interface · javax.xml.crypto.dsig.SignedInfo

Extends: XMLStructure

Methods

MethodRing callJava overloads
getCanonicalizationMethodgetCanonicalizationMethod()CanonicalizationMethod getCanonicalizationMethod()
getCanonicalizedDatagetCanonicalizedData()InputStream getCanonicalizedData()
getIdgetId()String getId()
getReferencesgetReferences()List getReferences()
getSignatureMethodgetSignatureMethod()SignatureMethod getSignatureMethod()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

Transform#

interface · javax.xml.crypto.dsig.Transform

Extends: XMLStructure, AlgorithmMethod

Fields

NameTypeAccessIn Ring
BASE64Stringconstant · statico.BASE64
ENVELOPEDStringconstant · statico.ENVELOPED
XPATHStringconstant · statico.XPATH
XPATH2Stringconstant · statico.XPATH2
XSLTStringconstant · statico.XSLT

Methods

MethodRing callJava overloads
getAlgorithmgetAlgorithm()String getAlgorithm()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
transformtransform([data,context])
transform([ :data = v, :context = v ])
transform([data,context,os])
transform([ :data = v, :context = v, :os = v ])
Data transform(Data data, XMLCryptoContext context)
Data transform(Data data, XMLCryptoContext context, OutputStream os)

TransformException#

class · extends Exception · javax.xml.crypto.dsig.TransformException

Constructors

new TransformException()
new TransformException(Throwable cause)
new TransformException(String message)
new TransformException(String message, Throwable cause)

Ring: new TransformException(args) uses the constructor with the fewest parameters (at least one); new TransformException makes the object with the constructor without parameters; the others: (new TransformException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Exception are inherited.

TransformService#

abstract · extends Object · javax.xml.crypto.dsig.TransformService

Implements: Transform

Fields

NameTypeAccessIn Ring
BASE64Stringconstant · statico.BASE64
ENVELOPEDStringconstant · statico.ENVELOPED
XPATHStringconstant · statico.XPATH
XPATH2Stringconstant · statico.XPATH2
XSLTStringconstant · statico.XSLT

Methods

MethodRing callJava overloads
@init@init(params)
@init([parent,context])
@init([ :parent = v, :context = v ])
void init(TransformParameterSpec params)
void init(XMLStructure parent, XMLCryptoContext context)
getAlgorithmgetAlgorithm()String getAlgorithm()
getInstancegetInstance([algorithm,mechanismType])
getInstance([ :algorithm = v, :mechanismType = v ])
getInstance([algorithm,mechanismType,provider])
getInstance([ :algorithm = v, :mechanismType = v, :provider = v ])
static TransformService getInstance(String algorithm, String mechanismType)
static TransformService getInstance(String algorithm, String mechanismType, String provider)
static TransformService getInstance(String algorithm, String mechanismType, Provider provider)
getMechanismTypegetMechanismType()String getMechanismType()
getParameterSpecgetParameterSpec()AlgorithmParameterSpec getParameterSpec()
getProvidergetProvider()Provider getProvider()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
marshalParamsmarshalParams(parent,context)void marshalParams(XMLStructure parent, XMLCryptoContext context)
transformtransform([data,context])
transform([ :data = v, :context = v ])
transform([data,context,os])
transform([ :data = v, :context = v, :os = v ])
Data transform(Data data, XMLCryptoContext context)
Data transform(Data data, XMLCryptoContext context, OutputStream os)

The methods and fields of Object are inherited.

XMLObject#

interface · javax.xml.crypto.dsig.XMLObject

Extends: XMLStructure

Fields

NameTypeAccessIn Ring
TYPEStringconstant · statico.TYPE

Methods

MethodRing callJava overloads
getContentgetContent()List getContent()
getEncodinggetEncoding()String getEncoding()
getIdgetId()String getId()
getMimeTypegetMimeType()String getMimeType()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)

XMLSignature#

interface · javax.xml.crypto.dsig.XMLSignature

Extends: XMLStructure

Fields

NameTypeAccessIn Ring
XMLNSStringconstant · statico.XMLNS

Methods

MethodRing callJava overloads
getIdgetId()String getId()
getKeyInfogetKeyInfo()KeyInfo getKeyInfo()
getKeySelectorResultgetKeySelectorResult()KeySelectorResult getKeySelectorResult()
getObjectsgetObjects()List getObjects()
getSignatureValuegetSignatureValue()SignatureValue getSignatureValue()
getSignedInfogetSignedInfo()SignedInfo getSignedInfo()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
signsign(signContext)void sign(XMLSignContext signContext)
validatevalidate(validateContext)boolean validate(XMLValidateContext validateContext)

XMLSignatureException#

class · extends Exception · javax.xml.crypto.dsig.XMLSignatureException

Constructors

new XMLSignatureException()
new XMLSignatureException(Throwable cause)
new XMLSignatureException(String message)
new XMLSignatureException(String message, Throwable cause)

Ring: new XMLSignatureException(args) uses the constructor with the fewest parameters (at least one); new XMLSignatureException makes the object with the constructor without parameters; the others: (new XMLSignatureException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Exception are inherited.

XMLSignatureFactory#

abstract · extends Object · javax.xml.crypto.dsig.XMLSignatureFactory

Methods

MethodRing callJava overloads
@getInstance@getInstance(mechanismType)
@getInstance([mechanismType,provider])
@getInstance([ :mechanismType = v, :provider = v ])
static XMLSignatureFactory getInstance(String mechanismType)
static XMLSignatureFactory getInstance(String mechanismType, String provider)
static XMLSignatureFactory getInstance(String mechanismType, Provider provider)
getInstancegetInstance()static XMLSignatureFactory getInstance()
getKeyInfoFactorygetKeyInfoFactory()KeyInfoFactory getKeyInfoFactory()
getMechanismTypegetMechanismType()String getMechanismType()
getProvidergetProvider()Provider getProvider()
getURIDereferencergetURIDereferencer()URIDereferencer getURIDereferencer()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
newCanonicalizationMethodnewCanonicalizationMethod(algorithm,params)CanonicalizationMethod newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)
CanonicalizationMethod newCanonicalizationMethod(String algorithm, XMLStructure params)
newDigestMethodnewDigestMethod(algorithm,params)DigestMethod newDigestMethod(String algorithm, DigestMethodParameterSpec params)
newManifestnewManifest(references)
newManifest([references,id])
newManifest([ :references = v, :id = v ])
Manifest newManifest(List references)
Manifest newManifest(List references, String id)
newReferencenewReference([uri,dm])
newReference([ :uri = v, :dm = v ])
newReference([uri,dm,transforms,type,id])
newReference([ :uri = v, :dm = v, :transforms = v, :type = v, :id = v ])
newReference([uri,dm,transforms,type,id,digestValue])
newReference([ :uri = v, :dm = v, :transforms = v, :type = v, :id = v, :digestValue = v ])
newReference([uri,dm,appliedTransforms,result,transforms,type,id])
newReference([ :uri = v, :dm = v, :appliedTransforms = v, :result = v, :transforms = v, :type = v, :id = v ])
Reference newReference(String uri, DigestMethod dm)
Reference newReference(String uri, DigestMethod dm, List transforms, String type, String id)
Reference newReference(String uri, DigestMethod dm, List transforms, String type, String id, byte[] digestValue)
Reference newReference(String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)
newSignatureMethodnewSignatureMethod(algorithm,params)SignatureMethod newSignatureMethod(String algorithm, SignatureMethodParameterSpec params)
newSignaturePropertiesnewSignatureProperties(properties,id)SignatureProperties newSignatureProperties(List properties, String id)
newSignaturePropertynewSignatureProperty(content,target,id)SignatureProperty newSignatureProperty(List content, String target, String id)
newSignedInfonewSignedInfo([cm,sm,references])
newSignedInfo([ :cm = v, :sm = v, :references = v ])
newSignedInfo([cm,sm,references,id])
newSignedInfo([ :cm = v, :sm = v, :references = v, :id = v ])
SignedInfo newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references)
SignedInfo newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references, String id)
newTransformnewTransform(algorithm,params)Transform newTransform(String algorithm, TransformParameterSpec params)
Transform newTransform(String algorithm, XMLStructure params)
newXMLObjectnewXMLObject(content,id,mimeType,encoding)XMLObject newXMLObject(List content, String id, String mimeType, String encoding)
newXMLSignaturenewXMLSignature([si,ki])
newXMLSignature([ :si = v, :ki = v ])
newXMLSignature([si,ki,objects,id,signatureValueId])
newXMLSignature([ :si = v, :ki = v, :objects = v, :id = v, :signatureValueId = v ])
XMLSignature newXMLSignature(SignedInfo si, KeyInfo ki)
XMLSignature newXMLSignature(SignedInfo si, KeyInfo ki, List objects, String id, String signatureValueId)
unmarshalXMLSignatureunmarshalXMLSignature(xmlStructure)XMLSignature unmarshalXMLSignature(XMLStructure xmlStructure)
XMLSignature unmarshalXMLSignature(XMLValidateContext context)

The methods and fields of Object are inherited.

XMLSignatureSignatureValue#

interface · javax.xml.crypto.dsig.XMLSignature$SignatureValue

Extends: XMLStructure

Methods

MethodRing callJava overloads
getIdgetId()String getId()
getValuegetValue()byte[] getValue()
isFeatureSupportedisFeatureSupported(feature)boolean isFeatureSupported(String feature)
validatevalidate(validateContext)boolean validate(XMLValidateContext validateContext)

XMLSignContext#

interface · javax.xml.crypto.dsig.XMLSignContext

Extends: XMLCryptoContext

Methods

MethodRing callJava overloads
@get@get(key)Object get(Object key)
@put@put(key,value)Object put(Object key, Object value)
getBaseURIgetBaseURI()String getBaseURI()
getDefaultNamespacePrefixgetDefaultNamespacePrefix()String getDefaultNamespacePrefix()
getKeySelectorgetKeySelector()KeySelector getKeySelector()
getNamespacePrefixgetNamespacePrefix(namespaceURI,defaultPrefix)String getNamespacePrefix(String namespaceURI, String defaultPrefix)
getPropertygetProperty(name)Object getProperty(String name)
getURIDereferencergetURIDereferencer()URIDereferencer getURIDereferencer()
putNamespacePrefixputNamespacePrefix(namespaceURI,prefix)String putNamespacePrefix(String namespaceURI, String prefix)
setBaseURIsetBaseURI(baseURI)void setBaseURI(String baseURI)
setDefaultNamespacePrefixsetDefaultNamespacePrefix(defaultPrefix)void setDefaultNamespacePrefix(String defaultPrefix)
setKeySelectorsetKeySelector(ks)void setKeySelector(KeySelector ks)
setPropertysetProperty(name,value)Object setProperty(String name, Object value)
setURIDereferencersetURIDereferencer(dereferencer)void setURIDereferencer(URIDereferencer dereferencer)

XMLValidateContext#

interface · javax.xml.crypto.dsig.XMLValidateContext

Extends: XMLCryptoContext

Methods

MethodRing callJava overloads
@get@get(key)Object get(Object key)
@put@put(key,value)Object put(Object key, Object value)
getBaseURIgetBaseURI()String getBaseURI()
getDefaultNamespacePrefixgetDefaultNamespacePrefix()String getDefaultNamespacePrefix()
getKeySelectorgetKeySelector()KeySelector getKeySelector()
getNamespacePrefixgetNamespacePrefix(namespaceURI,defaultPrefix)String getNamespacePrefix(String namespaceURI, String defaultPrefix)
getPropertygetProperty(name)Object getProperty(String name)
getURIDereferencergetURIDereferencer()URIDereferencer getURIDereferencer()
putNamespacePrefixputNamespacePrefix(namespaceURI,prefix)String putNamespacePrefix(String namespaceURI, String prefix)
setBaseURIsetBaseURI(baseURI)void setBaseURI(String baseURI)
setDefaultNamespacePrefixsetDefaultNamespacePrefix(defaultPrefix)void setDefaultNamespacePrefix(String defaultPrefix)
setKeySelectorsetKeySelector(ks)void setKeySelector(KeySelector ks)
setPropertysetProperty(name,value)Object setProperty(String name, Object value)
setURIDereferencersetURIDereferencer(dereferencer)void setURIDereferencer(URIDereferencer dereferencer)
RingJava - use Java classes and methods from Ring programs.