// ParseDERCRL parses a DER encoded CRL from the given bytes.
ParseDERCRL parses a DER encoded CRL from the given bytes.
// ParseDERCRL parses a DER encoded CRL from the given bytes .
func ParseDERCRL(derBytes []byte) (certList *pkix.CertificateList, err error) {
	var (
		crl  *C.X509_CRL
		buf  = unsafe.Pointer(&derBytes[0])
		blen = C.int(len(derBytes))
		bio  = C.BIO_new_mem_buf(buf, blen)
	)
	crl = C.d2i_X509_CRL_bio(bio, nil)
	if crl == nil {
		return nil, errors.New("error parsing der data: " + sslerr.SSLErrorMessage().String())
	}
	return &pkix.CertificateList{}, nil
}
func ParseDERCRL ( derBytes [ ] byte ) ( certList * pkix . CertificateList , err error ) { var ( crl * C . X509_CRL buf = unsafe . Pointer ( & derBytes [ 0 ] ) blen = C . int ( len ( derBytes ) ) bio = C . BIO_new_mem_buf ( buf , blen ) ) crl = C . d2i_X509_CRL_bio ( bio , nil ) if crl == nil { return nil , errors . New ( " " + sslerr . SSLErrorMessage ( ) . String ( ) ) } return & pkix . CertificateList { } , nil }
ParseDERCRL parses a DER encoded CRL from the given bytes.
ParseDERCRL parses a DER encoded CRL from the given bytes .
// use crl