org.apache.xml.security.stax.impl.algorithms
Interface SignatureAlgorithm

All Known Implementing Classes:
HMACSignatureAlgorithm, PKISignatureAlgorithm

public interface SignatureAlgorithm

Version:
$Revision: 1395267 $ $Date: 2012-10-07 11:02:46 +0100 (Sun, 07 Oct 2012) $
Author:
$Author: giger $

Method Summary
 void engineInitSign(Key signingKey)
           
 void engineInitSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
           
 void engineInitSign(Key signingKey, SecureRandom secureRandom)
           
 void engineInitVerify(Key verificationKey)
           
 void engineSetParameter(AlgorithmParameterSpec params)
           
 byte[] engineSign()
           
 void engineUpdate(byte input)
           
 void engineUpdate(byte[] input)
           
 void engineUpdate(byte[] buf, int offset, int len)
           
 boolean engineVerify(byte[] signature)
           
 

Method Detail

engineUpdate

void engineUpdate(byte[] input)
                  throws XMLSecurityException
Throws:
XMLSecurityException

engineUpdate

void engineUpdate(byte input)
                  throws XMLSecurityException
Throws:
XMLSecurityException

engineUpdate

void engineUpdate(byte[] buf,
                  int offset,
                  int len)
                  throws XMLSecurityException
Throws:
XMLSecurityException

engineInitSign

void engineInitSign(Key signingKey)
                    throws XMLSecurityException
Throws:
XMLSecurityException

engineInitSign

void engineInitSign(Key signingKey,
                    SecureRandom secureRandom)
                    throws XMLSecurityException
Throws:
XMLSecurityException

engineInitSign

void engineInitSign(Key signingKey,
                    AlgorithmParameterSpec algorithmParameterSpec)
                    throws XMLSecurityException
Throws:
XMLSecurityException

engineSign

byte[] engineSign()
                  throws XMLSecurityException
Throws:
XMLSecurityException

engineInitVerify

void engineInitVerify(Key verificationKey)
                      throws XMLSecurityException
Throws:
XMLSecurityException

engineVerify

boolean engineVerify(byte[] signature)
                     throws XMLSecurityException
Throws:
XMLSecurityException

engineSetParameter

void engineSetParameter(AlgorithmParameterSpec params)
                        throws XMLSecurityException
Throws:
XMLSecurityException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.