com.digt.trusted.xmlsig
Class SignatureStraightGostR34102001GostR3411URN

java.lang.Object
  extended by org.apache.xml.security.algorithms.SignatureAlgorithmSpi
      extended by com.digt.trusted.xmlsig.SignatureStraightGostR34102001GostR3411URN

public final class SignatureStraightGostR34102001GostR3411URN
extends org.apache.xml.security.algorithms.SignatureAlgorithmSpi


Field Summary
static java.lang.String _URI
           
 
Constructor Summary
SignatureStraightGostR34102001GostR3411URN()
           
 
Method Summary
protected  java.lang.String engineGetJCEAlgorithmString()
           
protected  java.lang.String engineGetJCEProviderName()
           
protected  java.lang.String engineGetURI()
           
protected  void engineInitSign(java.security.Key privateKey)
           
protected  void engineInitSign(java.security.Key signingKey, java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
           
protected  void engineInitSign(java.security.Key privateKey, java.security.SecureRandom secureRandom)
           
protected  void engineInitVerify(java.security.Key publicKey)
           
protected  void engineSetHMACOutputLength(int HMACOutputLength)
           
protected  void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
           
protected  byte[] engineSign()
           
protected  void engineUpdate(byte input)
           
protected  void engineUpdate(byte[] input)
           
protected  void engineUpdate(byte[] buf, int offset, int len)
           
protected  boolean engineVerify(byte[] signature)
           
 
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
 

Field Detail

_URI

public static final java.lang.String _URI
See Also:
Constant Field Values
Constructor Detail

SignatureStraightGostR34102001GostR3411URN

public SignatureStraightGostR34102001GostR3411URN()
                                           throws org.apache.xml.security.signature.XMLSignatureException
Throws:
org.apache.xml.security.signature.XMLSignatureException
Method Detail

engineGetURI

protected java.lang.String engineGetURI()
Specified by:
engineGetURI in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi

engineSetParameter

protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
                           throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineSetParameter in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineVerify

protected boolean engineVerify(byte[] signature)
                        throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineVerify in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineInitVerify

protected void engineInitVerify(java.security.Key publicKey)
                         throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineInitVerify in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineSign

protected byte[] engineSign()
                     throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineSign in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineInitSign

protected void engineInitSign(java.security.Key privateKey,
                              java.security.SecureRandom secureRandom)
                       throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineInitSign in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineInitSign

protected void engineInitSign(java.security.Key privateKey)
                       throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineInitSign in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineUpdate

protected void engineUpdate(byte[] input)
                     throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineUpdate in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineUpdate

protected void engineUpdate(byte input)
                     throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineUpdate in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineUpdate

protected void engineUpdate(byte[] buf,
                            int offset,
                            int len)
                     throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineUpdate in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineGetJCEAlgorithmString

protected java.lang.String engineGetJCEAlgorithmString()
Specified by:
engineGetJCEAlgorithmString in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi

engineGetJCEProviderName

protected java.lang.String engineGetJCEProviderName()
Specified by:
engineGetJCEProviderName in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi

engineSetHMACOutputLength

protected void engineSetHMACOutputLength(int HMACOutputLength)
                                  throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineSetHMACOutputLength in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException

engineInitSign

protected void engineInitSign(java.security.Key signingKey,
                              java.security.spec.AlgorithmParameterSpec algorithmParameterSpec)
                       throws org.apache.xml.security.signature.XMLSignatureException
Specified by:
engineInitSign in class org.apache.xml.security.algorithms.SignatureAlgorithmSpi
Throws:
org.apache.xml.security.signature.XMLSignatureException