DefaultSCEPChallengeStoreTryGetChallenge Method

Attempts to retrieve a cached and not consumed challenge password.

Definition

Namespace: ADCS.CertMod.Managed.NDES
Assembly: ADCS.CertMod.Managed (in ADCS.CertMod.Managed.dll) Version: 3.0.0+d2bb03ea44678b01baee06872c78fd0a30d7e09e
C#
public bool TryGetChallenge(
	string challenge,
	out SCEPChallengeStoreEntry?? storeEntry
)

Parameters

challenge  String
Challenge password to retrieve.
storeEntry  SCEPChallengeStoreEntry
Requested challenge password if found, otherwise null.

Return Value

Boolean
true if requested challenge password was found, otherwise false.

Implements

ISCEPChallengeStoreTryGetChallenge(String, SCEPChallengeStoreEntry)

Remarks

This method should be called in VerifyRequest(IntPtr, IntPtr, String, String) or OnVerifyRequest(Byte, X509Certificate2, String, String) implementation to properly authenticate request.

See Also