| Modifier and Type | Method and Description |
|---|---|
KeyType |
KeyParams.getKeyType() |
static KeyType |
RsaKeyParams.getType() |
static KeyType |
EcKeyParams.getType() |
static KeyType |
AesKeyParams.getType() |
static KeyType |
KeyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
KeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
KeyParams(KeyType keyType,
KeyIdType keyIdType)
Create a key generation parameter.
|
KeyParams(KeyType keyType,
Name.Component keyId)
Create a key generation parameter.
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
PublicKey.getKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
abstract void |
IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
BasicIdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
AndroidSqlite3IdentityStorage.addKey(Name keyName,
KeyType keyType,
Blob publicKeyDer)
Add a public key to the identity storage.
|
void |
MemoryPrivateKeyStorage.setKeyPairForKeyName(Name keyName,
KeyType keyType,
ByteBuffer publicKeyDer,
ByteBuffer privateKeyDer)
Set the public and private key for the keyName.
|
void |
MemoryPrivateKeyStorage.setPrivateKeyForKeyName(Name keyName,
KeyType keyType,
ByteBuffer privateKeyDer)
Set the private key for the keyName.
|
void |
MemoryPrivateKeyStorage.setPublicKeyForKeyName(Name keyName,
KeyType keyType,
ByteBuffer publicKeyDer)
Set the public key for the keyName.
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
PibKey.getKeyType()
Get the key type.
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
PibKeyImpl.getKeyType()
Get the key type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TpmPrivateKey.loadPkcs1(ByteBuffer encoding,
KeyType keyType)
Load the unencrypted private key from a buffer with the PKCS #1 encoding.
|
void |
TpmPrivateKey.loadPkcs8(ByteBuffer encoding,
KeyType keyType)
Load the unencrypted private key from a buffer with the PKCS #8 encoding.
|
Copyright © 2018. All rights reserved.