Exemplo n.º 1
0
        public dynamic ExtraeDatosCer(string cerPath)
        {
            var d = OpenSslHelper.CertificateData(cerPath);

            return(new
            {
                FechaFin = d.FinalDate,
                FechaInicio = d.InitDate,
                Rfc = d.Rfc
            });
        }
Exemplo n.º 2
0
 public bool ValidarCerLLave(string cerPath, string keyPath, string password)
 {
     return(OpenSslHelper.ValidCerKeyPassword(cerPath, keyPath, password));
 }
Exemplo n.º 3
0
 public bool ValidarLLave(string keyPath, string password)
 {
     return(OpenSslHelper.ValidKeyPassword(keyPath, password));
 }