func (e ErrValidityError) Error() string {
	return e.err.Error()
}
Error returns the underlying error reported by xmlsec1.
package xmlsec
import (
	"bufio"
	"bytes"
	"encoding/xml"
	"fmt"
	"io/ioutil"
	"os"
	"os/exec"
	"strings"
)
const (
	attrNameResponse     = `urn:oasis:names:tc:SAML:2.0:protocol:Response`
	attrNameAssertion    = `urn:oasis:names:tc:SAML:2.0:assertion:Assertion`
	attrNameAuthnRequest = `urn:oasis:names:tc:SAML:2.0:protocol:AuthnRequest`
)
type ValidationOptions struct {
	DTDFile          string
	EnableIDAttrHack bool
	IDAttrs          []string
}
type ErrSelfSignedCertificate struct {
	err error
}
func (e ErrSelfSignedCertificate) Error() string {
	return e.err.Error()
}
type ErrUnknownIssuer struct {
	err error
}
func (e ErrUnknownIssuer) Error() string {
	return e.err.Error()
}
type ErrValidityError struct {
	err error
}