es.mityc.firmaJava.ts
Class TSValidator

java.lang.Object
  extended by es.mityc.firmaJava.ts.TSValidator

public class TSValidator
extends java.lang.Object

Clase encargada de validar sellos de tiempo.

Version:
1.0
Author:
Ministerio de Industria, Energía y Turismo

Constructor Summary
TSValidator()
           
 
Method Summary
static TSValidacion validarSelloTiempo(byte[] binarioaSellar, byte[] sellodeTiempo)
          Este método valida el Sello de Tiempo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSValidator

public TSValidator()
Method Detail

validarSelloTiempo

public static TSValidacion validarSelloTiempo(byte[] binarioaSellar,
                                              byte[] sellodeTiempo)
                                       throws java.security.NoSuchAlgorithmException,
                                              org.bouncycastle.tsp.TSPException,
                                              java.io.IOException,
                                              java.security.NoSuchProviderException,
                                              java.security.cert.CertStoreException,
                                              TSClienteError

Este método valida el Sello de Tiempo.

Parameters:
binarioaSellar - fichero binario a validar
sellodeTiempo - El Sello de Tiempo se ingresa en formato binario
Returns:
TSValidacion Valores TSA
Throws:
java.security.NoSuchAlgorithmException
org.bouncycastle.tsp.TSPException
java.io.IOException
java.security.NoSuchProviderException
java.security.cert.CertStoreException
TSClienteError


Copyright © 2009 Ministerio de Industria, Energía y Turismo. All Rights Reserved.