IT. Expert System.

Android Reference

AndroidKeyPairGeneratorSpec


android.security

Class AndroidKeyPairGeneratorSpec

    • Constructor Detail

      • AndroidKeyPairGeneratorSpec

        public AndroidKeyPairGeneratorSpec(Context context,
                                   String keyStoreAlias,
                                   X500Principal subjectDN,
                                   BigInteger serialNumber,
                                   Date startDate,
                                   Date endDate)
        Parameter specification for the "AndroidKeyPairGenerator" instance of the KeyPairGenerator API. The context passed in may be used to pop up some UI to ask the user to unlock or initialize the Android keystore facility.

        After generation, the keyStoreAlias is used with the KeyStore.getEntry(String, java.security.KeyStore.ProtectionParameter) interface to retrieve the PrivateKey and its associated Certificate chain.

        The KeyPair generator will create a self-signed certificate with the properties of subjectDN as its X.509v3 Subject Distinguished Name and as its X.509v3 Issuer Distinguished Name, using the specified serialNumber, and the validity date starting at startDate and ending at endDate.

        Parameters:
        context - Android context for the activity
        keyStoreAlias - name to use for the generated key in the Android keystore
        subjectDN - X.509 v3 Subject Distinguished Name
        serialNumber - X509 v3 certificate serial number
        startDate - the start of the self-signed certificate validity period
        endDate - the end date of the self-signed certificate validity period
        Throws:
        IllegalArgumentException - when any argument is null or endDate is before startDate.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 39 / 158681147. Delta: 0.16349 с