forgerock-core
4.4.0
forgerock-core
/
org.forgerock.android.auth
/
KeyStoreManager
Key
Store
Manager
@
RestrictTo
(
value
=
LIBRARY_GROUP_PREFIX
)
open
class
KeyStoreManager
Manage Device Identifier Keys in the KeyStore.
Members
Constructors
Key
Store
Manager
Link copied to clipboard
constructor
(
@
NonNull
context
:
Context
)
Properties
CN_FORGE_ROCK
Link copied to clipboard
private
val
CN_FORGE_ROCK
:
String
=
"CN=ForgeRock"
context
Link copied to clipboard
private
open
var
context
:
Context
KEY_SIZE
Link copied to clipboard
private
val
KEY_SIZE
:
Int
=
1024
Functions
get
Certificate
Link copied to clipboard
open
fun
getCertificate
(
keyAlias
:
String
)
:
Certificate
get
Identifier
Key
Link copied to clipboard
open
fun
getIdentifierKey
(
keyAlias
:
String
)
:
Key
get
Key
Store
Link copied to clipboard
private
open
fun
getKeyStore
(
)
:
KeyStore
get
Spec
Link copied to clipboard
private
open
fun
getSpec
(
keyAlias
:
String
)
:
KeyPairGeneratorSpec
persist
Link copied to clipboard
open
fun
persist
(
keyAlias
:
String
,
certificate
:
Array
<
Byte
>
)