|
||||||||||
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
|
static class |
SignatureBaseRSA.SignatureRSARIPEMD160
|
static class |
SignatureBaseRSA.SignatureRSASHA1
|
static class |
SignatureBaseRSA.SignatureRSASHA256
|
static class |
SignatureBaseRSA.SignatureRSASHA384
|
static class |
SignatureBaseRSA.SignatureRSASHA512
|
Constructor Summary | |
SignatureBaseRSA()
Constructor SignatureRSA |
Method Summary | |
protected java.lang.String |
engineGetJCEAlgorithmString()
Method engineGetJCEAlgorithmString |
protected java.lang.String |
engineGetJCEProviderName()
Method engineGetJCEProviderName |
abstract java.lang.String |
engineGetURI()
Method engineGetURI |
protected void |
engineInitSign(java.security.Key secretKey)
Method engineInitSign |
protected void |
engineInitSign(java.security.Key secretKey,
java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
Method engineInitSign |
protected void |
engineInitSign(java.security.PrivateKey privateKey)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected void |
engineInitSign(java.security.PrivateKey privateKey,
java.security.SecureRandom secureRandom)
Proxy method for Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature object. |
protected void |
engineInitVerify(java.security.Key secretkey)
Method engineInitVerify |
protected void |
engineInitVerify(java.security.PublicKey publickey)
Proxy method for Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature object. |
protected void |
engineSetHMACOutputLength(int HMACOutputLength)
Method engineSetHMACOutputLength |
protected void |
engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
Proxy method for Signature.setParameter(java.lang.String, java.lang.Object)
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)
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 |
engineAddContextToElement, engineGetContextFromElement, engineSetDocument |
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()
engineGetURI
in class SignatureAlgorithmSpi
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params) throws XMLSignatureException
Signature.setParameter(java.lang.String, java.lang.Object)
which is executed on the internal Signature
object.
engineSetParameter
in class SignatureAlgorithmSpi
params
-
XMLSignatureException
protected boolean engineVerify(byte[] signature) throws XMLSignatureException
Signature.verify(byte[])
which is executed on the internal Signature
object.
engineVerify
in class SignatureAlgorithmSpi
signature
-
XMLSignatureException
protected void engineInitVerify(java.security.PublicKey publickey) throws XMLSignatureException
Signature.initVerify(java.security.PublicKey)
which is executed on the internal Signature
object.
engineInitVerify
in class SignatureAlgorithmSpi
publickey
-
XMLSignatureException
protected byte[] engineSign() throws XMLSignatureException
Signature.sign()
which is executed on the internal Signature
object.
engineSign
in class SignatureAlgorithmSpi
Signature.sign()
method
XMLSignatureException
protected void engineInitSign(java.security.PrivateKey privateKey, java.security.SecureRandom secureRandom) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature
object.
engineInitSign
in class SignatureAlgorithmSpi
privateKey
- secureRandom
-
XMLSignatureException
protected void engineInitSign(java.security.PrivateKey privateKey) throws XMLSignatureException
Signature.initSign(java.security.PrivateKey)
which is executed on the internal Signature
object.
engineInitSign
in class SignatureAlgorithmSpi
privateKey
-
XMLSignatureException
protected void engineUpdate(byte[] input) throws XMLSignatureException
Signature.update(byte)
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
input
-
XMLSignatureException
protected void engineUpdate(byte input) throws XMLSignatureException
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
Signature.update(byte)
which is executed on the internal Signature
object.
engineUpdate
in class SignatureAlgorithmSpi
buf
- offset
- len
-
XMLSignatureException
protected java.lang.String engineGetJCEAlgorithmString()
engineGetJCEAlgorithmString
in class SignatureAlgorithmSpi
protected java.lang.String engineGetJCEProviderName()
engineGetJCEProviderName
in class SignatureAlgorithmSpi
protected void engineSetHMACOutputLength(int HMACOutputLength) throws XMLSignatureException
engineSetHMACOutputLength
in class SignatureAlgorithmSpi
HMACOutputLength
-
XMLSignatureException
protected void engineInitVerify(java.security.Key secretkey) throws XMLSignatureException
engineInitVerify
in class SignatureAlgorithmSpi
secretkey
-
XMLSignatureException
protected void engineInitSign(java.security.Key secretKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException
engineInitSign
in class SignatureAlgorithmSpi
secretKey
- algorithmParameterSpec
-
XMLSignatureException
protected void engineInitSign(java.security.Key secretKey) throws XMLSignatureException
engineInitSign
in class SignatureAlgorithmSpi
secretKey
-
XMLSignatureException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |