public static final class KeyStore.SecretKeyEntry extends Object implements KeyStore.Entry
SecretKeyが格納されたKeyStoreエントリです。KeyStore.Entry.Attribute| コンストラクタ | 説明 |
|---|---|
SecretKeyEntry(SecretKey secretKey) |
特定の
SecretKeyを使ってSecretKeyEntryを構築します。 |
SecretKeyEntry(SecretKey secretKey, Set<KeyStore.Entry.Attribute> attributes) |
SecretKeyと関連するエントリ属性を使用してSecretKeyEntryを構築します。 |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
Set<KeyStore.Entry.Attribute> |
getAttributes() |
エントリに関連付けられている属性を取得します。
|
SecretKey |
getSecretKey() |
このエントリ内の
SecretKeyを取得します。 |
String |
toString() |
このSecretKeyEntryの文字列表現を返します。
|
public SecretKeyEntry(SecretKey secretKey)
SecretKeyを使ってSecretKeyEntryを構築します。secretKey - SecretKeyNullPointerException - secretKeyがnullである場合public SecretKeyEntry(SecretKey secretKey, Set<KeyStore.Entry.Attribute> attributes)
SecretKeyと関連するエントリ属性を使用してSecretKeyEntryを構築します。
指定されたattributesは、クローニングされてから新しいSecretKeyEntryオブジェクトに格納されます。
secretKey - SecretKeyattributes - 属性NullPointerException - secretKeyまたはattributesがnullの場合public SecretKey getSecretKey()
SecretKeyを取得します。SecretKeypublic Set<KeyStore.Entry.Attribute> getAttributes()
getAttributes、インタフェースKeyStore.EntrySet(空の場合もある) バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。