es.mityc.firmaJava.ts
Class TSValidator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TSValidator
public TSValidator()
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 validarsellodeTiempo - 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.