Package org.mozilla.geckoview
Class GeckoSession.PromptDelegate.CertificateRequest
Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.CertificateRequest
- Enclosing interface:
- GeckoSession.PromptDelegate
public static class GeckoSession.PromptDelegate.CertificateRequest
extends GeckoSession.PromptDelegate.BasePrompt
CertificateRequest represents a request for a client authentication certificate.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
GeckoSession.PromptDelegate.BasePrompt.Observer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The host requesting the certificate.final Principal[]
The X.500 Distinguished Names the server specified as acceptable issuers.Fields inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
title
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CertificateRequest
(String id, GeckoSession.PromptDelegate.BasePrompt.Observer observer, String host) Deprecated.protected
CertificateRequest
(String id, GeckoSession.PromptDelegate.BasePrompt.Observer observer, String host, Principal[] issuers) -
Method Summary
Modifier and TypeMethodDescriptionComplete the request by responding with the alias of the selected certificate (or null if none was selected).Methods inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
confirm, dismiss, getDelegate, isComplete, setDelegate
-
Field Details
-
host
The host requesting the certificate. -
issuers
The X.500 Distinguished Names the server specified as acceptable issuers.
-
-
Constructor Details
-
CertificateRequest
@Deprecated @DeprecationSchedule(id="CertificateRequest-CertificateRequest", version=143) protected CertificateRequest(@NonNull String id, GeckoSession.PromptDelegate.BasePrompt.Observer observer, String host) Deprecated. -
CertificateRequest
protected CertificateRequest(@NonNull String id, GeckoSession.PromptDelegate.BasePrompt.Observer observer, String host, Principal[] issuers)
-
-
Method Details
-
confirm
@UiThread @NonNull public GeckoSession.PromptDelegate.PromptResponse confirm(@Nullable String alias) Complete the request by responding with the alias of the selected certificate (or null if none was selected).- Parameters:
alias
- The alias of the certificate selected (may be null).- Returns:
- A
GeckoSession.PromptDelegate.PromptResponse
which can be used to complete theGeckoResult
associated with this prompt.
-