func (s *SecurityProfileDataElement) UnmarshalHBCI(value []byte) error {
	s = &SecurityProfileDataElement{}
	elements, err := ExtractElements(value)
	if err != nil {
		return err
	}
	if len(elements) < 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	s.DataElement = NewDataElementGroup(securityProfileDEG, 5, s)
	s.SecurityMethod = &AlphaNumericDataElement{}
	err = s.SecurityMethod.UnmarshalHBCI(elements[0])
	if err != nil {
		return err
	}
	s.SecurityMethodVersion = &NumberDataElement{}
	err = s.SecurityMethodVersion.UnmarshalHBCI(elements[1])
	return err
}
// UnmarshalHBCI unmarshals value into the DataElement
UnmarshalHBCI unmarshals value into the DataElement
// UnmarshalHBCI unmarshals value into the DataElement
func (s *SecurityProfileDataElement) UnmarshalHBCI(value []byte) error {
	s = &SecurityProfileDataElement{}
	elements, err := ExtractElements(value)
	if err != nil {
		return err
	}
	if len(elements) < 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	s.DataElement = NewDataElementGroup(securityProfileDEG, 5, s)
	s.SecurityMethod = &AlphaNumericDataElement{}
	err = s.SecurityMethod.UnmarshalHBCI(elements[0])
	if err != nil {
		return err
	}
	s.SecurityMethodVersion = &NumberDataElement{}
	err = s.SecurityMethodVersion.UnmarshalHBCI(elements[1])
	return err
}
func ( s * SecurityProfileDataElement ) UnmarshalHBCI ( value [ ] byte ) error { s = & SecurityProfileDataElement { } elements , err := ExtractElements ( value ) if err != nil { return err } if len ( elements ) < 2 { return fmt . Errorf ( " " ) } s . DataElement = NewDataElementGroup ( securityProfileDEG , 5 , s ) s . SecurityMethod = & AlphaNumericDataElement { } err = s . SecurityMethod . UnmarshalHBCI ( elements [ 0 ] ) if err != nil { return err } s . SecurityMethodVersion = & NumberDataElement { } err = s . SecurityMethodVersion . UnmarshalHBCI ( elements [ 1 ] ) return err }
UnmarshalHBCI unmarshals value into the DataElement
UnmarshalHBCI unmarshals value into the DataElement