Derk2006/moonsso/src/spnego does not have a README file
pub suberror DerError {
Truncated(Int)
BadTag(Int, Int)
BadLength(Int)
MissingToken
}pub(all) enum NegState {
AcceptCompleted
AcceptIncomplete
Rejected
RequestMic
}pub struct NegTarg {
state : NegState?
supported_mech : Bytes?
response_token : Bytes?
mech_list_mic : Bytes?
}pub struct Tlv {
tag : Int
content : Int
length : Int
}fn context(n : Int, content : Bytes) -> Bytesfn describe(token : Bytes) -> Stringfn is_spnego(token : Bytes) -> Boolfn mech_list_der() -> Bytesfn wrap_init(ntlm_token : Bytes) -> Bytesfn wrap_response(ntlm_token : Bytes) -> Bytesfn wrap_response_state(ntlm_token : Bytes, state : Int) -> Bytesfn wrap_targ_with_mech(ntlm_token : Bytes, state : NegState?, supported_mech : Bytes?, mech_list_mic : Bytes?) -> BytesInstall
Download zipNTLMv2 challenge-response for MoonBit, without FFI