func Decode(pemData []byte) (*DH, error) {
	blk, _ := pem.Decode(pemData)

	out := &DH{}
	if _, err := asn1.Unmarshal(blk.Bytes, out); err != nil {
		return nil, errors.Wrap(err, "Could not unmarshal ASN1")
	}

	return out, nil
}
// Decode reads a DH parameters struct from its PEM data
Decode reads a DH parameters struct from its PEM data
// Decode reads a DH parameters struct from its PEM data
func Decode(pemData []byte) (*DH, error) {
	blk, _ := pem.Decode(pemData)
	out := &DH{}
	if _, err := asn1.Unmarshal(blk.Bytes, out); err != nil {
		return nil, errors.Wrap(err, "Could not unmarshal ASN1")
	}
	return out, nil
}
func Decode ( pemData [ ] byte ) ( * DH , error ) { blk , _ := pem . Decode ( pemData ) out := & DH { } if _ , err := asn1 . Unmarshal ( blk . Bytes , out ) ; err != nil { return nil , errors . Wrap ( err , " " ) } return out , nil }
Decode reads a DH parameters struct from its PEM data
Decode reads a DH parameters struct from its PEM data