public class RSASSAPSSParameterImpl extends AlgorithmParameterImpl implements SignatureMethodParameterSpec
RSAPSSParams 
 RFC6931, Section
 2.3.9 and RSAPssSignature
 element that supports
 the DOM XML representation and processing mechanism.DOMStructure.NodeWrapper| Modifier and Type | Field and Description | 
|---|---|
| protected DigestMethodImpl | digestMethod_The DigestMethod. | 
| protected String | mgf_The MGF - mask generation function. | 
| protected DigestMethodImpl | mgfDigestMethod_The DigestMethod used for the MGF - mask generation function. | 
| protected Integer | saltLength_The SaltLength. | 
| protected Integer | trailerField_The TrailerField. | 
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED| Constructor and Description | 
|---|
| RSASSAPSSParameterImpl(DigestMethod digestMethod,
                      Integer saltLength,
                      Integer trailerField,
                      DigestMethod mgfDigestMethod,
                      String mgf)Creates a new instance of this  RSASSAPSSParameterImplwith the
 specified provider config and output length. | 
| RSASSAPSSParameterImpl(DOMCryptoContext context,
                      Node node)Creates a new instance of this  RSASSAPSSParameterImplwith the
 specified provider config, context and node to unmarshal from. | 
| Modifier and Type | Method and Description | 
|---|---|
| DigestMethod | getDigestMethod()Returns the DigestMethod. | 
| String | getLocalName()Returns the local name of the represented XML element. | 
| String | getMGF()Returns the MGF. | 
| DigestMethod | getMGFDigestMethod()Returns the DigestMethod used for the MGF. | 
| String | getNamespace()Returns the namespace URI of the represented XML element. | 
| Integer | getSaltLength()Returns the SaltLength. | 
| Integer | getTrailerField()Returns the TrailerField. | 
| protected Element | marshalElement(DOMCryptoContext context,
              Node parent,
              Node nextSibling)Marshals the XML representation of the  Elementrepresented by thisDOMStructureand returns it. | 
| protected void | putChildStructure(DOMStructure childStructure)Put an unmarshalled child structure. | 
| protected void | unmarshalStructures(NodeList nodes,
                   DOMCryptoContext context)Unmarshals  DOMStructures from the givennodes. | 
setParentStructureaddBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshal, marshalAttributes, marshalIDAttribute, newIDforLookUp, putImplClass, setBackToCompatibilityPrior1_14, setNode, toString, unmarshal, unmarshalAttributes, unmarshalElement, unmarshalIDAttribute, wrapNodeprotected DigestMethodImpl digestMethod_
null)protected Integer saltLength_
null)protected Integer trailerField_
null)
 The TrailerField defaults to 1 (0xBC) when omitted.protected DigestMethodImpl mgfDigestMethod_
null)protected String mgf_
null, 
 usually http://www.w3.org/2007/05/xmldsig-more#MGF1)public RSASSAPSSParameterImpl(DOMCryptoContext context, Node node) throws MarshalException
RSASSAPSSParameterImpl with the
 specified provider config, context and node to unmarshal from.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic RSASSAPSSParameterImpl(DigestMethod digestMethod, Integer saltLength, Integer trailerField, DigestMethod mgfDigestMethod, String mgf) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
RSASSAPSSParameterImpl with the
 specified provider config and output length.digestMethod - used for the signature scheme.saltLength - used for PSS.trailerField - usually 1.mgfDigestMethod - used in the MFG.mgf - the MGF.NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic String getLocalName()
DOMStructuregetLocalName in class DOMStructureDOMStructure.getLocalName()public String getNamespace()
DOMStructuregetNamespace in class DOMStructureDOMStructure.getNamespace()public DigestMethod getDigestMethod()
public String getMGF()
public DigestMethod getMGFDigestMethod()
public Integer getSaltLength()
public Integer getTrailerField()
protected Element marshalElement(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
DOMStructureElement represented by this
 DOMStructure and returns it.
 
 This method is called by DOMStructure.marshal(DOMCryptoContext, Node, Node).
 
marshalElement in class DOMStructurecontext - the marshal contextparent - where to place the marshalled elementnextSibling - before which to place the marshalled nodeElementMarshalException - if an exception occurs during marshalingDOMStructure.marshalElement(DOMCryptoContext,
      Node, Node)protected void putChildStructure(DOMStructure childStructure) throws MarshalException
DOMStructure
 This method is called by
 DOMStructure.unmarshalStructures(NodeList, DOMCryptoContext) for every
 unmarshalled child structure.
 
A subclass has to overwrite this method to store the given child structure in its the corresponding field.
putChildStructure in class DOMStructurechildStructure - the unmarshalled child structureMarshalExceptionprotected void unmarshalStructures(NodeList nodes, DOMCryptoContext context) throws MarshalException
DOMStructureDOMStructures from the given nodes.
 
 This method is called by DOMStructure.unmarshal(DOMCryptoContext).
 
 This method calls DOMStructure.getInstance(Node, DOMCryptoContext) for every
 Element in the list of nodes. If
 DOMStructure.getInstance(Node, DOMCryptoContext) returns a
 DOMStructure DOMStructure.putChildStructure(DOMStructure) is
 called with the returned DOMStructure as parameter.
 
unmarshalStructures in class DOMStructurenodes - the nodes to unmarshal fromcontext - the marshal contextMarshalException - if an exception occurs during marshaling© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC