Uses of Class
com.rsa.swsj.InvalidParameterException

Packages that use InvalidParameterException
com.rsa.swsj This package contains general classes that are used by XML Signature and XML Encryption implementations. 
com.rsa.swsj.encryption This package contains classes that implement XML encryption specification. 
com.rsa.swsj.profiles.wss This package contains classes that implement WSS SOAP Message Security specification. 
com.rsa.swsj.signature This package contains classes that implement XML signature specification. 
 

Uses of InvalidParameterException in com.rsa.swsj
 

Methods in com.rsa.swsj that throw InvalidParameterException

 void

XMLSecurityOperation.setReferences(Reference[] references)

Sets the array of references.

 void

XMLSecurityOperation.addReference(Reference reference)

Adds a Reference.

abstract  void

XMLSecurityOperation.setType(int type)

Sets the type of the specific Security Operation.

 void

XMLSecurityOperation.setExpirationTime(java.util.Calendar time)

Sets the expiration time for this security operation.

 void

XMLDocument.setOutputStream(java.io.OutputStream output)

Sets the output stream to which the document is written.

 void

XMLDocument.addSecurityOperation(XMLSecurityOperation op)

Adds an XML security operation to the document,such as XMLSignature.

 void

XMLDocument.setSecurityOperations(XMLSecurityOperation[] ops)

Sets an array of new XML security operations to the document.

 void

XMLDocument.removeSecurityOperation(XMLSecurityOperation op)

Removes an XML security operation from the document.

 void

X509Data.setSubjectName(java.lang.String subjectName)

Sets the subject distinguished name to this X509Data object.

 void

X509Data.setIssuerName(java.lang.String issuerName)

Sets the issuer's distinguished name for this X509Data.

 void

X509Data.setX509CRLs(java.security.cert.X509CRL[] crls)

Sets the list of X509CRL objects to include in this X509Data object.

 void

X509Data.addX509CRL(java.security.cert.X509CRL crl)

Adds an X509CRL object to include in this X509Data object.

 void

X509Data.setCertificateChain(java.security.cert.X509Certificate[] certificates)

Sets the certificate chain to include in this X509Data object.

 void

X509Data.addCertificate(java.security.cert.X509Certificate certificate)

Adds an X509Certificate object to include in this X509Data object.

 void

X509Data.setIssuerSerialNumber(byte[] serialNum)

Sets the issuer serial number to this X509Data object.

 void

SWSJContext.setJCEProviders(java.security.Provider[] jceProviders)

Sets the array of JCE provider object instances.

 void

SWSJContext.setJCEProviders(java.lang.String[] jceProviderNames)

Initializes the JCE providers to use by name.

 void

SWSJContext.setSecurityHandler(XMLSecurityHandler handler)

Sets the security handler.

 void

SWSJContext.setTrustedCertificates(java.security.cert.X509Certificate[] certs)

Sets an array of trusted certificates to use during certificate path validation.

 void

SWSJContext.setIntermediateCertificates(java.security.cert.X509Certificate[] certs)

Sets an array of intermediate CA certificates.

 void

SecurityParameters.setKeyInfos(KeyInfo[] keyInfos)

Sets the array of KeyInfo objects that can contain keys, names, certificates, and other public key management information.

 void

RetrievalMethod.setType(java.lang.String type)

Sets the KeyInfo type of this RetrievalMethod instance to type.

 void

RetrievalMethod.setCertificate(java.security.cert.X509Certificate cert)

Sets a binary (ASN.1 DER) X.509 Certificate to which this RetrievalMethod refers.

 void

Reference.addTransform(java.lang.String transform, java.lang.Object param)

Adds a transformation to this reference object by appending the transform to the existing transformations.

 void

KeyValue.setKey(java.security.PublicKey publicKey)

Sets the public-key values of this KeyValue object.

 void

DefaultCertValidator.setTrustedCertificates(java.security.cert.X509Certificate[] certs)

Sets an array of trusted certificates.

 void

DefaultCertValidator.setIntermediateCertificates(java.security.cert.X509Certificate[] certs)

Sets an array of intermediate CA certificates.

 

Constructors in com.rsa.swsj that throw InvalidParameterException
XMLDocument(SWSJContext context, java.io.InputStream input)

Reads and parses an XML document.

XMLDocument(SWSJContext context, java.io.InputStream input, java.io.OutputStream output)

Reads and parses the XML document.

X509Data(SWSJContext context)

Creates an empty X509Data object initialized only with context.

Timestamp(SWSJContext context)

The default constructor that creates an empty Timestamp object that is initialized only with context.

SWSJContext(java.lang.String[] jceProviderNames)

Creates the SWSJ context with the requested list of providers.

SWSJContext(java.security.Provider[] jceProviders)

Creates SWSJ context with the requested list of providers.

SecurityParameters(SWSJContext context)

Instantiates a particular SecurityParameters object.

RetrievalMethod(SWSJContext context)

Creates an empty RetrievalMethod object initialized only with context.

RetrievalMethod(SWSJContext context, java.lang.String uri)

Creates a RetrievalMethod object by setting the URI to uri.

Reference(SWSJContext context)

The default constructor that creates an empty Reference object that is initialized only with context.

Reference(SWSJContext context, java.lang.String uri)

Creates a Reference object and sets the URI setting to uri.

KeyValue(SWSJContext context)

Creates an empty KeyValue object initialized only with context.

KeyValue(SWSJContext context, java.security.PublicKey publicKey)

Creates a KeyValue object, sets the context, and initializes the key to publicKey.

 

Uses of InvalidParameterException in com.rsa.swsj.encryption
 

Methods in com.rsa.swsj.encryption that throw InvalidParameterException

 void

XMLEncryption.setType(int type)

Sets the encryption type to type.

 void

XMLEncryption.setReferences(Reference[] references)

Sets the array of references.

 void

XMLEncryption.addReference(Reference reference)

Adds a Reference.

 

Uses of InvalidParameterException in com.rsa.swsj.profiles.wss
 

Methods in com.rsa.swsj.profiles.wss that throw InvalidParameterException

 void

X509Token.setX509Certificate(java.security.cert.X509Certificate cert)

Sets the certificate value.

 void

WSSDocument.addToken(Token token)

Adds a WS-Security token.

 void

WSSDocument.setTokens(Token[] tokens)

Adds an array of tokens to the document.

 void

WSSDocument.removeToken(Token token)

Removes a WS-Security token.

 void

UsernameToken.setCreationTime(java.util.Calendar created)

Set the value for creation time.

 void

UsernameToken.setPassword(java.lang.String password)

Sets the password value during creation of the token or when the password needs to be validated.

 void

UsernameToken.setPassword(java.lang.String password, boolean addToMessage)

Sets the password value during creation of the token.

 void

UsernameToken.setUsername(java.lang.String username)

Sets the username value.

 void

Token.setId(java.lang.String id)

Sets the Identifier value.

 void

SecurityTokenReference.setId(java.lang.String id)

Sets the Id attribute that provides a standard method to assign a string ID to an element within the document context.

 void

KeyIdentifier.setId(java.lang.String id)

Sets the Id attribute that provides a standard method to assign a string ID to an element within the document context.

 void

KeyIdentifier.setValueType(java.lang.String valueType)

Sets the type of KeyIdentifier being used.

 void

KeyIdentifier.setEncodingType(java.lang.String encodingType)

Sets the type of encoding used to encode the KeyIdentifier.

 void

KeyIdentifier.setValue(byte[] value)

Sets the value of this KeyIdentifier.

 

Constructors in com.rsa.swsj.profiles.wss that throw InvalidParameterException
X509Token(SWSJContext context)

Creates an empty X509Token object initialized only with context.

X509Token(SWSJContext context, java.security.cert.X509Certificate cert)

Creates an X509Token object initialized with the signer's certificate.

X509Token(SWSJContext context, byte[] certData, java.lang.String valueType, boolean isBase64)

Creates an X509Token object initialized with certificate data.

WSSParameters(SWSJContext context)

Instantiates a particular WSSParameters object.

WSSDocument(SWSJContext context, java.io.InputStream input)

Reads and parses the SOAP message.

WSSDocument(SWSJContext context, java.io.InputStream input, java.io.OutputStream output)

Reads and parses the WSS document.

UsernameToken(SWSJContext context)

Creates an empty UsernameToken object that is initialized only with a context.

UsernameToken(SWSJContext context, java.lang.String id, java.lang.String username)

Creates a UsernameToken object that is initialized with the context, an identifier, and the user name for that token.

Token(SWSJContext context)

Creates an empty Token object that is initialized only with a context.

SecurityTokenReference(SWSJContext context)

Creates an empty SecurityTokenReference object initialized only with context.

KeyIdentifier(SWSJContext context)

Creates an empty KeyIdentifier object initialized only with context.

 

Uses of InvalidParameterException in com.rsa.swsj.signature
 

Methods in com.rsa.swsj.signature that throw InvalidParameterException

 void

XMLSignature.setType(int type)

Sets the signature type to type.

 void

XMLSignature.setCanonicalizationMethod(java.lang.String c14nMethod)

Sets the canonicalization method to c14nMethod.

 void

XMLSignature.addManifest(java.lang.String id, SigReference[] references)

Adds a manifest to the message and sets the references within that manifest.

 void

XMLSignature.setHMACPassword(char[] password)

Sets the HMAC password to use for signing and verification.

 void

XMLSignature.addReference(Reference reference)

Adds a SigReference.

 void

XMLSignature.setReferences(Reference[] references)

Sets the array of references.

 void

SigReference.setDigestMethod(java.lang.String digestMethod)

Sets the digest algorithm of this reference.

 

Constructors in com.rsa.swsj.signature that throw InvalidParameterException
XMLSignature(SWSJContext context)

Creates an empty XMLSignature object initialized only with a context.

XMLSignature(SWSJContext context, java.lang.String reference, java.security.PrivateKey privKey, java.security.cert.X509Certificate cert, java.security.cert.X509Certificate[] certChain)

Creates XMLSignature object set with all nessesary values.

SigReference(SWSJContext context)

Creates a SigReference object and initializes it with the context only.

SigReference(SWSJContext context, java.lang.String uri, java.lang.String digestMethod)

Creates a SigReference object and initializes it with the given values.