次の方法で共有


IdentityCredential.SetAllowUsingExhaustedKeys(Boolean) Method

Definition

Sets whether to allow using an authentication key which use count has been exceeded if no other key is available.

[Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)]
public abstract void SetAllowUsingExhaustedKeys (bool allowUsingExhaustedKeys);
[<Android.Runtime.Register("setAllowUsingExhaustedKeys", "(Z)V", "GetSetAllowUsingExhaustedKeys_ZHandler", ApiSince=30)>]
abstract member SetAllowUsingExhaustedKeys : bool -> unit

Parameters

allowUsingExhaustedKeys
Boolean

whether to allow using an authentication key which use count has been exceeded if no other key is available.

Attributes

Remarks

Sets whether to allow using an authentication key which use count has been exceeded if no other key is available. This must be called prior to calling #getEntries(byte[], Map, byte[], byte[]).

By default this is set to true.

This member is deprecated. Use PresentationSession instead.

Java documentation for android.security.identity.IdentityCredential.setAllowUsingExhaustedKeys(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to