(data)
| 60 | |
| 61 | |
| 62 | def decodeAuthResponseSecurityBlob(data): |
| 63 | try: |
| 64 | d, _ = decoder.decode(data, asn1Spec = NegotiationToken()) |
| 65 | nt = d.getComponentByName('negTokenTarg') |
| 66 | |
| 67 | result = nt.getComponentByName('negResult') |
| 68 | return int(result) |
| 69 | except Exception as ex: |
| 70 | raise BadSecurityBlobError(str(ex)) |
| 71 | |
| 72 | |
| 73 | # |
nothing calls this directly
no test coverage detected