Uses of Class
org.apache.http.impl.auth.NTLMEngineException
Packages that use NTLMEngineException
Package
Description
Default implementations of standard and common HTTP authentication
schemes.
-
Uses of NTLMEngineException in org.apache.http.impl.auth
Methods in org.apache.http.impl.auth that throw NTLMEngineExceptionModifier and TypeMethodDescriptionprivate byte[]
NTLMEngineImpl.Type3Message.addGssMicAvsToTargetInfo
(byte[] originalTargetInfo, Certificate peerServerCertificate) Add GSS channel binding hash and MIC flag to the targetInfo.private void
NTLMEngineImpl.Handle.advanceMessageSequence()
byte[]
NTLMEngineImpl.Handle.decryptAndVerifySignedMessage
(byte[] inMessage) NTLMEngine.generateType1Msg
(String domain, String workstation) Generates a Type1 message given the domain and workstation.NTLMEngineImpl.generateType1Msg
(String domain, String workstation) NTLMEngine.generateType3Msg
(String username, String password, String domain, String workstation, String challenge) Generates a Type3 message given the user credentials and the authentication challenge.NTLMEngineImpl.generateType3Msg
(String username, String password, String domain, String workstation, String challenge) private static Charset
NTLMEngineImpl.getCharset
(int flags) Find the character set based on the flags.byte[]
NTLMEngineImpl.CipherGen.getClientChallenge()
Calculate and return client challengebyte[]
NTLMEngineImpl.CipherGen.getClientChallenge2()
Calculate and return second client challengebyte[]
NTLMEngineImpl.CipherGen.getLanManagerSessionKey()
Get LAN Manager session keybyte[]
NTLMEngineImpl.CipherGen.getLM2SessionResponse()
Calculate and return LM2 session responsebyte[]
NTLMEngineImpl.CipherGen.getLMHash()
Calculate and return the LMHashbyte[]
NTLMEngineImpl.CipherGen.getLMResponse()
Calculate and return the LMResponsebyte[]
NTLMEngineImpl.CipherGen.getLMUserSessionKey()
Get LMUserSessionKeybyte[]
NTLMEngineImpl.CipherGen.getLMv2Hash()
Calculate the LMv2 hashbyte[]
NTLMEngineImpl.CipherGen.getLMv2Response()
Calculate the LMv2Responsebyte[]
NTLMEngineImpl.CipherGen.getNTLM2SessionResponse()
Get NTLM2SessionResponsebyte[]
NTLMEngineImpl.CipherGen.getNTLM2SessionResponseUserSessionKey()
Get NTLM2SessionResponseUserSessionKeybyte[]
NTLMEngineImpl.CipherGen.getNTLMHash()
Calculate and return the NTLMHashbyte[]
NTLMEngineImpl.CipherGen.getNTLMResponse()
Calculate and return the NTLMResponsebyte[]
NTLMEngineImpl.CipherGen.getNTLMUserSessionKey()
Get NTLMUserSessionKeybyte[]
NTLMEngineImpl.CipherGen.getNTLMv2Blob()
Calculate the NTLMv2Blobbyte[]
NTLMEngineImpl.CipherGen.getNTLMv2Hash()
Calculate the NTLMv2 hashbyte[]
NTLMEngineImpl.CipherGen.getNTLMv2Response()
Calculate the NTLMv2Responsebyte[]
NTLMEngineImpl.CipherGen.getNTLMv2UserSessionKey()
GetNTLMv2UserSessionKeybyte[]
NTLMEngineImpl.CipherGen.getSecondaryKey()
Calculate and return random secondary key(package private) static String
NTLMEngineImpl.getType3Message
(String user, String password, String host, String domain, byte[] nonce, int type2Flags, String target, byte[] targetInformation) Creates the type 3 message using the given server nonce.(package private) static String
NTLMEngineImpl.getType3Message
(String user, String password, String host, String domain, byte[] nonce, int type2Flags, String target, byte[] targetInformation, Certificate peerServerCertificate, byte[] type1Message, byte[] type2Message) Creates the type 3 message using the given server nonce.(package private) static byte[]
NTLMEngineImpl.hmacMD5
(byte[] value, byte[] key) Calculates HMAC-MD5private Cipher
NTLMEngineImpl.Handle.initCipher()
private static byte[]
Creates the LM Hash of the user's password.private static byte[]
NTLMEngineImpl.lmResponse
(byte[] hash, byte[] challenge) Creates the LM Response from the given hash and Type 2 challenge.private static byte[]
Creates the LMv2 Hash of the user's password.(package private) static byte[]
NTLMEngineImpl.ntlm2SessionResponse
(byte[] ntlmHash, byte[] challenge, byte[] clientChallenge) Calculates the NTLM2 Session Response for the given challenge, using the specified password and client challenge.private static byte[]
Creates the NTLM Hash of the user's password.private static byte[]
NTLMEngineImpl.ntlmv2Hash
(String domain, String user, byte[] ntlmHash) Creates the NTLMv2 Hash of the user's password.(package private) static byte[]
NTLMEngineImpl.RC4
(byte[] value, byte[] key) Calculates RC4protected byte
NTLMEngineImpl.NTLMMessage.readByte
(int position) Read a byte from a position within the message bufferprotected void
NTLMEngineImpl.NTLMMessage.readBytes
(byte[] buffer, int position) Read a bunch of bytes from a position in the message bufferprotected byte[]
NTLMEngineImpl.NTLMMessage.readSecurityBuffer
(int position) Read a security buffer from a position within the message bufferprotected int
NTLMEngineImpl.NTLMMessage.readULong
(int position) Read a ulong from a position within the message bufferprotected int
NTLMEngineImpl.NTLMMessage.readUShort
(int position) Read a ushort from a position within the message bufferbyte[]
NTLMEngineImpl.Handle.signAndEncryptMessage
(byte[] cleartextMessage) Constructors in org.apache.http.impl.auth that throw NTLMEngineExceptionModifierConstructorDescription(package private)
Handle
(byte[] exportedSessionKey, NTLMEngineImpl.Mode mode, boolean isConnection) (package private)
NTLMMessage
(byte[] message, int expectedType) Constructor to use when message bytes are known(package private)
NTLMMessage
(String messageBody, int expectedType) Constructor taking a string(package private)
Type1Message
(String domain, String host) (package private)
Type1Message
(String domain, String host, Integer flags) (package private)
Type2Message
(byte[] message) (package private)
Type2Message
(String messageBody) (package private)
Type3Message
(String domain, String host, String user, String password, byte[] nonce, int type2Flags, String target, byte[] targetInformation) More primitive constructor: don't include cert or previous messages.(package private)
Type3Message
(String domain, String host, String user, String password, byte[] nonce, int type2Flags, String target, byte[] targetInformation, Certificate peerServerCertificate, byte[] type1Message, byte[] type2Message) Constructor.(package private)
Type3Message
(Random random, long currentTime, String domain, String host, String user, String password, byte[] nonce, int type2Flags, String target, byte[] targetInformation) More primitive constructor: don't include cert or previous messages.(package private)
Type3Message
(Random random, long currentTime, String domain, String host, String user, String password, byte[] nonce, int type2Flags, String target, byte[] targetInformation, Certificate peerServerCertificate, byte[] type1Message, byte[] type2Message) Constructor.