|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.security.algorithms.SignatureAlgorithmSpi org.apache.xml.security.algorithms.implementations.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.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()
SignatureAlgorithmSpi
Transformation algorithm
engineGetURI
in class SignatureAlgorithmSpi
Transformation algorithm
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.setParameter(java.security.spec.AlgorithmParameterSpec)
which is executed on the internal Signature
object.
engineSetParameter
in class SignatureAlgorithmSpi
params
-
XMLSignatureException
protected boolean engineVerify(byte[] signature) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.verify(byte[])
which is executed on the internal Signature
object.
engineVerify
in class SignatureAlgorithmSpi
signature
-
XMLSignatureException
protected void engineInitVerify(java.security.Key publicKey) throws XMLSignatureException
SignatureAlgorithmSpi
engineInitVerify
in class SignatureAlgorithmSpi
publicKey
-
XMLSignatureException
protected byte[] engineSign() throws XMLSignatureException
SignatureAlgorithmSpi
Signature.sign()
which is executed on the internal Signature
object.
engineSign
in class SignatureAlgorithmSpi
Signature.sign()
method
XMLSignatureException
protected void engineInitSign(java.security.Key privateKey, java.security.SecureRandom secureRandom) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.initSign(java.security.PrivateKey, java.security.SecureRandom)
which is executed on the internal Signature
object.
engineInitSign
in class SignatureAlgorithmSpi
privateKey
- secureRandom
-
XMLSignatureException
- if this method is called on a MACprotected void engineInitSign(java.security.Key privateKey) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature
object.
engineInitSign
in class SignatureAlgorithmSpi
privateKey
-
XMLSignatureException
- if this method is called on a MACprotected void engineUpdate(byte[] input) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.update(byte[])
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
input
-
XMLSignatureException
protected void engineUpdate(byte input) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.update(byte[])
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
input
-
XMLSignatureException
protected void engineUpdate(byte[] buf, int offset, int len) throws XMLSignatureException
SignatureAlgorithmSpi
Signature.update(byte[], int, int)
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
buf
- offset
- len
-
XMLSignatureException
protected java.lang.String engineGetJCEAlgorithmString()
SignatureAlgorithmSpi
Signature.getAlgorithm()
which is executed on the internal Signature
object.
engineGetJCEAlgorithmString
in class SignatureAlgorithmSpi
Signature.getAlgorithm()
methodprotected java.lang.String engineGetJCEProviderName()
SignatureAlgorithmSpi
engineGetJCEProviderName
in class SignatureAlgorithmSpi
protected void engineSetHMACOutputLength(int HMACOutputLength) throws XMLSignatureException
SignatureAlgorithmSpi
engineSetHMACOutputLength
in class SignatureAlgorithmSpi
HMACOutputLength
-
XMLSignatureException
protected void engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException
SignatureAlgorithmSpi
Mac
which is executed on the internal Mac.init(Key)
object.
engineInitSign
in class SignatureAlgorithmSpi
signingKey
- algorithmParameterSpec
-
XMLSignatureException
- if this method is called on a Signature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |