package validate

import (
	"encoding/pem"
	"fmt"
	"regexp"
)

func Attestation
(data []byte) (string, error) {
	var attestation Attestation
	if err := pem.Unmarshal(data, &attestation); err!= nil {
		return "", err
	}
	return attestation.String(), nil
}

func (a Attestation