Android.Security Namespace

Provides access to a few facilities of the Android security subsystems.

Classes

AppUriAuthenticationPolicy

The app-URI authentication policy is set by the credential management app.

AppUriAuthenticationPolicy.Builder

Builder class for AppUriAuthenticationPolicy objects.

AppUriAuthenticationPolicy.InterfaceConsts
AttestedKeyPair

The AttestedKeyPair class contains a KeyPair instance of keys generated by Keystore and owned by KeyChain, as well as an attestation record for the key.

ConfirmationAlreadyPresentingException

This exception is thrown when presenting a prompt fails because another prompt is already being presented.

ConfirmationCallback

Callback class used when signaling that a prompt is no longer being presented.

ConfirmationNotAvailableException

This exception is thrown when presenting a prompt fails because the environment lacks facilities for showing confirmations.

ConfirmationPrompt

Class used for displaying confirmation prompts.

ConfirmationPrompt.Builder

A builder that collects arguments, to be shown on the system-provided confirmation prompt.

FileIntegrityManager

This class provides access to file integrity related operations.

KeyChain

The KeyChain class provides access to private keys and their corresponding certificate chains in credential storage.

KeyChainException

Thrown on problems accessing the KeyChain.

KeyPairGeneratorSpec

This provides the required parameters needed for initializing the KeyPairGenerator that works with Android KeyStore facility.

KeyPairGeneratorSpec.Builder

Builder class for KeyPairGeneratorSpec objects.

KeyStoreException

Exception containing information about the failure at the Keystore / KeyMint layer while generating or using a key.

KeyStoreParameter

This provides the optional parameters that can be specified for KeyStore entries that work with Android KeyStore facility.

KeyStoreParameter.Builder

Builder class for KeyStoreParameter objects.

NetworkSecurityPolicy

Network security policy.

Interfaces

IKeyChainAliasCallback

The KeyChainAliasCallback is the callback for KeyChain#choosePrivateKeyAlias.

Enums

KeyStoreExceptionError
KeyStoreExceptionRetry