|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xml.security.algorithms.SignatureAlgorithmSpi
org.apache.xml.security.algorithms.implementations.SignatureBaseRSA
public abstract class SignatureBaseRSA
| Nested Class Summary | |
|---|---|
static class |
SignatureBaseRSA.SignatureRSAMD5
Class SignatureRSAMD5 |
static class |
SignatureBaseRSA.SignatureRSARIPEMD160
Class SignatureRSARIPEMD160 |
static class |
SignatureBaseRSA.SignatureRSASHA1
Class SignatureRSASHA1 |
static class |
SignatureBaseRSA.SignatureRSASHA224
Class SignatureRSASHA224 |
static class |
SignatureBaseRSA.SignatureRSASHA256
Class SignatureRSASHA256 |
static class |
SignatureBaseRSA.SignatureRSASHA384
Class SignatureRSASHA384 |
static class |
SignatureBaseRSA.SignatureRSASHA512
Class SignatureRSASHA512 |
| Constructor Summary | |
|---|---|
SignatureBaseRSA()
Constructor SignatureRSA |
|
| Method Summary | |
|---|---|
protected java.lang.String |
engineGetJCEAlgorithmString()
Proxy method for Signature.getAlgorithm()
which is executed on the internal Signature object. |
protected java.lang.String |
engineGetJCEProviderName()
Method engineGetJCEProviderName |
abstract java.lang.String |
engineGetURI()
Returns the URI representation of Transformation algorithm |
protected void |
engineInitSign(java.security.Key privateKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected void |
engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for Mac
which is executed on the internal Mac.init(Key) object. |
protected void |
engineInitSign(java.security.Key privateKey,
java.security.SecureRandom secureRandom)
Proxy method for Signature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature object. |
protected void |
engineInitVerify(java.security.Key publicKey)
Method engineInitVerify |
protected void |
engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected void |
engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
Proxy method for Signature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object. |
protected byte[] |
engineSign()
Proxy method for Signature.sign()
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte input)
Proxy method for Signature.update(byte[])
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte[] input)
Proxy method for Signature.update(byte[])
which is executed on the internal Signature object. |
protected void |
engineUpdate(byte[] buf,
int offset,
int len)
Proxy method for Signature.update(byte[], int, int)
which is executed on the internal Signature object. |
protected boolean |
engineVerify(byte[] signature)
Proxy method for Signature.verify(byte[])
which is executed on the internal Signature object. |
| Methods inherited from class org.apache.xml.security.algorithms.SignatureAlgorithmSpi |
|---|
engineGetContextFromElement, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignatureBaseRSA()
throws XMLSignatureException
XMLSignatureException| Method Detail |
|---|
public abstract java.lang.String engineGetURI()
SignatureAlgorithmSpiTransformation algorithm
engineGetURI in class SignatureAlgorithmSpiTransformation algorithm
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.setParameter(
java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature object.
engineSetParameter in class SignatureAlgorithmSpiXMLSignatureException
protected boolean engineVerify(byte[] signature)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.verify(byte[])
which is executed on the internal Signature object.
engineVerify in class SignatureAlgorithmSpiXMLSignatureException
protected void engineInitVerify(java.security.Key publicKey)
throws XMLSignatureException
SignatureAlgorithmSpi
engineInitVerify in class SignatureAlgorithmSpiXMLSignatureException
protected byte[] engineSign()
throws XMLSignatureException
SignatureAlgorithmSpiSignature.sign()
which is executed on the internal Signature object.
engineSign in class SignatureAlgorithmSpiSignature.sign() method
XMLSignatureException
protected void engineInitSign(java.security.Key privateKey,
java.security.SecureRandom secureRandom)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.initSign(java.security.PrivateKey,
java.security.SecureRandom)
which is executed on the internal Signature object.
engineInitSign in class SignatureAlgorithmSpiXMLSignatureException - if this method is called on a MAC
protected void engineInitSign(java.security.Key privateKey)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object.
engineInitSign in class SignatureAlgorithmSpiXMLSignatureException - if this method is called on a MAC
protected void engineUpdate(byte[] input)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.update(byte[])
which is executed on the internal Signature object.
engineUpdate in class SignatureAlgorithmSpiXMLSignatureException
protected void engineUpdate(byte input)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.update(byte[])
which is executed on the internal Signature object.
engineUpdate in class SignatureAlgorithmSpiXMLSignatureException
protected void engineUpdate(byte[] buf,
int offset,
int len)
throws XMLSignatureException
SignatureAlgorithmSpiSignature.update(byte[], int, int)
which is executed on the internal Signature object.
engineUpdate in class SignatureAlgorithmSpiXMLSignatureExceptionprotected java.lang.String engineGetJCEAlgorithmString()
SignatureAlgorithmSpiSignature.getAlgorithm()
which is executed on the internal Signature object.
engineGetJCEAlgorithmString in class SignatureAlgorithmSpiSignature.getAlgorithm() methodprotected java.lang.String engineGetJCEProviderName()
SignatureAlgorithmSpi
engineGetJCEProviderName in class SignatureAlgorithmSpi
protected void engineSetHMACOutputLength(int HMACOutputLength)
throws XMLSignatureException
SignatureAlgorithmSpi
engineSetHMACOutputLength in class SignatureAlgorithmSpiXMLSignatureException
protected void engineInitSign(java.security.Key signingKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
throws XMLSignatureException
SignatureAlgorithmSpiMac
which is executed on the internal Mac.init(Key) object.
engineInitSign in class SignatureAlgorithmSpiXMLSignatureException - if this method is called on a Signature
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||