func NewCertificate(typ int, certificate []byte) *CertificateDataElement {
	c := &CertificateDataElement{
		CertificateType: NewNumber(typ, 1),
		Content:         NewBinary(certificate, 2048),
	}
	c.DataElement = NewDataElementGroup(certificateDEG, 2, c)
	return c
}
// NewCertificate embodies a certificate into a DataElement
NewCertificate embodies a certificate into a DataElement
// NewCertificate embodies a certificate into a DataElement
func NewCertificate(typ int, certificate []byte) *CertificateDataElement {
	c := &CertificateDataElement{
		CertificateType: NewNumber(typ, 1),
		Content:         NewBinary(certificate, 2048),
	}
	c.DataElement = NewDataElementGroup(certificateDEG, 2, c)
	return c
}
func NewCertificate ( typ int , certificate [ ] byte ) * CertificateDataElement { c := & CertificateDataElement { CertificateType : NewNumber ( typ , 1 ) , Content : NewBinary ( certificate , 2048 ) , } c . DataElement = NewDataElementGroup ( certificateDEG , 2 , c ) return c }
NewCertificate embodies a certificate into a DataElement
NewCertificate embodies a certificate into a DataElement