Most visited

Recently visited

Added in API level 1

KeyStore.SecretKeyEntry

public static final class KeyStore.SecretKeyEntry
extends Object implements KeyStore.Entry

java.lang.Object
   ↳ java.security.KeyStore.SecretKeyEntry


包含 SecretKey KeyStore条目。

Summary

Public constructors

KeyStore.SecretKeyEntry(SecretKey secretKey)

SecretKeyEntry构造一个 SecretKey

Public methods

SecretKey getSecretKey()

从此条目获取 SecretKey

String toString()

返回此SecretKeyEntry的字符串表示形式。

Inherited methods

From class java.lang.Object

Public constructors

KeyStore.SecretKeyEntry

Added in API level 1
KeyStore.SecretKeyEntry (SecretKey secretKey)

SecretKeyEntry构造一个 SecretKey

Parameters
secretKey SecretKey: the SecretKey
Throws
NullPointerException if secretKey is null

Public methods

getSecretKey

Added in API level 1
SecretKey getSecretKey ()

从此条目获取 SecretKey

Returns
SecretKey the SecretKey from this entry

toString

Added in API level 1
String toString ()

返回此SecretKeyEntry的字符串表示形式。

Returns
String a string representation of this SecretKeyEntry.

Hooray!