UnmarshalXML implements xml.Unmarshaler
(d *xml.Decoder, start xml.StartElement)
| 930 | |
| 931 | // UnmarshalXML implements xml.Unmarshaler |
| 932 | func (s *SubjectConfirmationData) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { |
| 933 | type Alias SubjectConfirmationData |
| 934 | aux := &struct { |
| 935 | NotOnOrAfter RelaxedTime `xml:",attr"` |
| 936 | *Alias |
| 937 | }{ |
| 938 | Alias: (*Alias)(s), |
| 939 | } |
| 940 | if err := d.DecodeElement(&aux, &start); err != nil { |
| 941 | return err |
| 942 | } |
| 943 | s.NotOnOrAfter = time.Time(aux.NotOnOrAfter) |
| 944 | return nil |
| 945 | } |
| 946 | |
| 947 | // Conditions represents the SAML element Conditions. |
| 948 | // |
nothing calls this directly
no outgoing calls
no test coverage detected