null, "PackageDoesntExist", Sspi.SECPKG_CRED_OUTBOUND, null, null, null,
null, phCredential, ptsExpiry));
}
public void testInitializeSecurityContext() {
CredHandle phCredential = new CredHandle();
TimeStamp ptsExpiry = new TimeStamp();
// acquire a credentials handle
assertEquals(W32Errors.SEC_E_OK, Secur32.INSTANCE.AcquireCredentialsHandle(
null, "Negotiate", Sspi.SECPKG_CRED_OUTBOUND, null, null, null,
null, phCredential, ptsExpiry));