-
ch.ethz.iks.slp.ServiceURL.sign()
-
cli_fmw.delegate.collaborator.CollaboratorLocalAbstract.sign()
-
com.amazonaws.auth.AWS4Signer.sign()
-
com.amazonaws.auth.Signer.sign()
-
com.bitsofproof.supernode.common.ECKeyPair.sign()
-
com.bitsofproof.supernode.common.Key.sign()
-
com.nimbusds.jose.JWSObject.sign()
Signs this JWS object with the specified signer. The JWS object must be in a {@link State#UNSIGNED unsigned} state.
@param signer The JWS signer. Must not be {@code null}.
@throws IllegalStateException If the JWS object is not in an {@link State#UNSIGNED unsigned state}.
@throws JOSEException If the JWS object couldn't be signed.
-
com.nimbusds.jose.JWSSigner.sign()
Signs the specified {@link JWSObject#getSigningInput input} of a {@link JWSObject JWS object}.
@param header The JSON Web Signature (JWS) header. Must specify a supported JWS algorithm and must not be {@code null}.
@param signingInput The input to sign. Must not be {@code null}.
@return The resulting signature part (third part) of the JWS object.
@throws JOSEException If the JWS algorithm is not supported or ifsigning failed for some other reason.
-
com.nimbusds.jwt.SignedJWT.sign()
-
com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithm.sign()
Proxy method for {@link java.security.Signature#sign()}which is executed on the internal {@link java.security.Signature} object.
@return the result of the {@link java.security.Signature#sign()} method
@throws XMLSignatureException
-
com.sun.org.apache.xml.internal.security.signature.XMLSignature.sign()
Digests all References in the SignedInfo, calculates the signature value and sets it in the SignatureValue Element.
@param signingKey the {@link java.security.PrivateKey} or {@link javax.crypto.SecretKey} that is used to sign.
@throws XMLSignatureException
-
com.sun.xml.ws.security.opt.crypto.dsig.internal.HmacSHA1.sign()
Signs the data
-
com.sun.xml.wss.saml.Assertion.sign()
Sign the SAML Assertion - Enveloped Signature
@param pubKey A java.security.PublicKey
representing the public key used for Signature verification
@param privKey A java.security.PrivateKey
representing the private key used for Signature calculation.By Default DigestMethod.SHA1, SignatureMethod.RSA_SHA1 and CanonicalizationMethod.EXCLUSIVE will be used.
@return An org.w3c.dom.Element
representation of Signed SAML Assertion
-
com.valhalla.misc.GnuPG.sign()
Sign
@param inStr input string to sign
@param secID ID of secret key to sign with
@param passPhrase passphrase for the secret key to sign with
@return true upon success
-
gnu.java.security.sig.ISignature.sign()
-
iaik.x509.X509Certificate.sign()
This methods implements an easy way to sign your certificate. Note that TBSCertificate must be set before calling this method.
@param sig a Signature engine that is initialized for signing with the appropriate private key
@param signerPub the signer's public key
@throws SignatureException if the signature could not be done
@throws CertificateEncodingException if an error occured during tbsCertificate encoding
@throws NoSuchAlgorithmException if the Public key or is not available signature algorithm
@throws InvalidAlgorithmParameterException if signature algorithm parameters could not be encoded correctly
-
java.security.Signature.sign()
Returns the signature bytes of all the data updated. The format of the signature depends on the underlying signature scheme.
A call to this method resets this signature object to the state it was in when previously initialized for signing via a call to initSign(PrivateKey)
. That is, the object is reset and available to generate another signature from the same signer, if desired, via new calls to update
and sign
.
@return the signature bytes of the signing operation's result.
@exception SignatureException if this signature object is notinitialized properly or if this signature algorithm is unable to process the input data provided.
-
javax.xml.crypto.dsig.XMLSignature.sign()
Signs this
XMLSignature
.
If this method throws an exception, this XMLSignature
and the signContext
parameter will be left in the state that it was in prior to the invocation.
@param signContext the signing context
@throws ClassCastException if the type of signContext
isnot compatible with this XMLSignature
@throws NullPointerException if signContext
is null
@throws MarshalException if an exception occurs while marshalling
@throws XMLSignatureException if an unexpected exception occurs whilegenerating the signature
-
mykeynote.keynote.KeyNoteCL.sign()
This method is the general way to go and sign a file.
@param unique The unique id
@param report The report
@param fileToSign The assertion, which needs to be signed
@param keyFile The file, where the private key resides
@param outputFile The file, where the signed assertion is to be saved
@throws InterruptedException This exception indicates that the keynote program was terminated before it ended.
@throws IOException An IOException is thrown only if a line could not be read correctly.
@throws KeyNoteCLException This error indicates that the keynote program exited with a value, different then 0,which means that an error has occurred.
@throws FileDeleteException This exception is thrown if the file could not be deleted.
@throws FileCreateException This exception is thrown if the file could not be created.
@throws FileNotWritableException This exception is not writable due to write permeations.
@throws FileWriteException This exception indicates, that during the writing to a filean error has occurred.
@throws MalformedKeyException The supplied key is not in a supported format
-
net.fortytwo.ripple.model.NumericValue.sign()
-
net.oauth.OAuthMessage.sign()
Add a signature to the message.
@throws URISyntaxException
-
net.schmizz.sshj.signature.Signature.sign()
Compute the signature.
@return the computed signature
-
net.sf.nic.FileSigner.sign()
-
net.tomp2p.connection.SignatureFactory.sign()
-
oauth.signpost.OAuthConsumer.sign()
Signs the given HTTP request by writing an OAuth signature (and other required OAuth parameters) to it. Where these parameters are written depends on the current {@link SigningStrategy}.
@param request the request to sign
@return the request object passed as an argument
@throws OAuthMessageSignerException
@throws OAuthExpectationFailedException
@throws OAuthCommunicationException
-
oauth.signpost.basic.DefaultOAuthConsumer.sign()
-
oauth.signpost.commonshttp.CommonsHttpOAuthConsumer.sign()
-
oauth.signpost.jetty.JettyOAuthConsumer.sign()
-
org.apache.abdera.security.Signature.sign()
Adds a digital signature to the specified element
-
org.apache.hadoop.security.authentication.util.Signer.sign()
Returns a signed string.
The signature '&s=SIGNATURE' is appended at the end of the string.
@param str string to sign.
@return the signed string.
-
org.apache.harmony.security.tests.support.MySignature1.sign()
-
org.apache.harmony.xnet.provider.jsse.DigitalSignature.sign()
Sign hash
@return Signature bytes
-
org.apache.ivy.plugins.signer.SignatureGenerator.sign()
-
org.apache.james.jdkim.DKIMSigner.sign()
-
org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureInterface.sign()
Creates a cms signature for the given content
@param content is the content as a (Filter)InputStream
@return signature as a byte array
-
org.apache.sshd.common.Signature.sign()
Compute the signature
@return
@throws Exception
-
org.apache.xml.security.algorithms.SignatureAlgorithm.sign()
Proxy method for {@link java.security.Signature#sign()}which is executed on the internal {@link java.security.Signature} object.
@return the result of the {@link java.security.Signature#sign()} method
@throws XMLSignatureException
-
org.apache.xml.security.signature.XMLSignature.sign()
Digests all References in the SignedInfo, calculates the signature value and sets it in the SignatureValue Element.
@param signingKey the {@link java.security.PrivateKey} or {@link javax.crypto.SecretKey} that is used to sign.
@throws XMLSignatureException
-
org.bouncycastle.jce.netscape.NetscapeCertRequest.sign()
-
org.ethereum.core.Transaction.sign()
-
org.ethereum.crypto.ECKey.sign()
Takes the sha3 hash (32 bytes) of data and returns the ECDSA signature
@throws IllegalStateException if this ECKey does not have the private part.
-
org.hive2hive.core.security.H2HSignatureFactory.sign()
-
org.jboss.aerogear.crypto.signature.SigningKey.sign()
-
org.jboss.identity.federation.api.saml.v2.sig.SAML2Signature.sign()
Sign an RequestType at the root
@param request
@param keypair Key Pair
@param digestMethod (Example: DigestMethod.SHA1)
@param signatureMethod (Example: SignatureMethod.DSA_SHA1)
@return
@throws ParserConfigurationException
@throws JAXBException
@throws IOException
@throws SAXException
@throws XMLSignatureException
@throws MarshalException
@throws GeneralSecurityException
-
org.jboss.resteasy.security.doseta.DKIMSignature.sign()
Headers can be a Map
or a Map>. This gives some compatibility with JAX-RS's MultivaluedMap. If a map of lists, every value of each header duplicate will be added. setPrivateKey() must be set before calling this method
@param headers
@param body
@param defaultKey will be used if privateKey is null
@throws java.security.GeneralSecurityException
-
org.jose4j.jws.JsonWebSignature.sign()
-
org.kapott.hbci.passport.HBCIPassportInternal.sign()
-
org.keyczar.Signer.sign()
Sign the given input and return a signature.
@param input The input to sign.
@return A byte array representation of a signature.
@throws KeyczarException If this Signer does not have a primary or aJCE exception occurs.
-
org.keyczar.UnversionedSigner.sign()
Sign the given input and return a signature.
@param input The input to sign.
@return A byte array representation of a signature.
@throws KeyczarException If this UnversionedSigner does not have a primaryor a JCE exception occurs.
-
org.keyczar.interfaces.SigningStream.sign()
Sign the updated input and output the signature in the given buffer.
@param output The output where the signature will be written.
@throws KeyczarException If any Java JCE errors occur or the output bufferis too small.
-
org.openid4java.association.Association.sign()
-
org.openid4java.server.ServerManager.sign()
Signs an AuthSuccess message, using the association identified by the handle specified within the message.
@param authSuccess The Authentication Success message to be signed.
@throws ServerException If the Association corresponding to the handlein the @authSuccess cannot be retrieved from the store.
@throws AssociationException If the signature cannot be computed.
-
org.openrdf.sail.federation.signatures.BNodeSigner.sign()
-
org.opensaml.SAMLAssertion.sign()
-
org.openxri.xml.XRD.sign()
This will sign the XRD using the provided Private Key. The signature will be kept in DOM. DOM will be created if it doesn't exist already.
@param oKey - The private key to sign the descriptor with.
@throws XMLSecurityException
-
org.picketlink.identity.federation.api.saml.v2.sig.SAML2Signature.sign()
Sign a document
@param doc
@param idValueOfAssertion
@param keypair
@param referenceURI
@return
@throws ParserConfigurationException
@throws XPathException
@throws TransformerFactoryConfigurationError
@throws TransformerException
@throws GeneralSecurityException
@throws MarshalException
@throws XMLSignatureException
-
org.springframework.security.oauth.common.signature.HMAC_SHA1SignatureMethod.sign()
Sign the signature base string. The signature is the digest octet string, first base64-encoded per RFC2045, section 6.8, then URL-encoded per OAuth Parameter Encoding.
@param signatureBaseString The signature base string.
@return The signature.
-
org.springframework.security.oauth.common.signature.OAuthSignatureMethod.sign()
Sign the signature base string.
@param signatureBaseString The signature base string to sign.
@return The signature.
-
org.vngx.jsch.algorithm.SignatureDSA.sign()
-
org.vngx.jsch.algorithm.SignatureRSA.sign()
-
org.xbill.DNS.utils.HMAC.sign()
Signs the data (computes the secure hash)
@return An array with the signature
-
restx.security.Signer.sign()
Sign the specified message.
@param message The message to sign.
@return The signed message.
-
sun.security.x509.X509CertImpl.sign()
Creates an X.509 certificate, and signs it using the given key (associating a signature algorithm and an X.500 name). This operation is used to implement the certificate generation functionality of a certificate authority.
@param key the private key used for signing.
@param algorithm the name of the signature algorithm used.
@exception InvalidKeyException on incorrect key.
@exception NoSuchAlgorithmException on unsupported signaturealgorithms.
@exception NoSuchProviderException if there's no default provider.
@exception SignatureException on signature errors.
@exception CertificateException on encoding errors.