public static final class KeyStore.TrustedCertificateEntry extends Object implements KeyStore.Entry
Certificateが格納されたKeyStoreエントリです。KeyStore.Entry.Attribute| コンストラクタ | 説明 |
|---|---|
TrustedCertificateEntry(Certificate trustedCert) |
信頼できる
Certificateを使ってTrustedCertificateEntryを構築します。 |
TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes) |
信頼できる
Certificateおよび関連するエントリ属性を使って、TrustedCertificateEntryを構築します。 |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
Set<KeyStore.Entry.Attribute> |
getAttributes() |
エントリに関連付けられている属性を取得します。
|
Certificate |
getTrustedCertificate() |
このエントリ内の信頼できる
Certficateを取得します。 |
String |
toString() |
このTrustedCertificateEntryの文字列表現を返します。
|
public TrustedCertificateEntry(Certificate trustedCert)
Certificateを使ってTrustedCertificateEntryを構築します。trustedCert - 信頼できるCertificateNullPointerException - trustedCertがnullである場合public TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)
Certificateおよび関連するエントリ属性を使って、TrustedCertificateEntryを構築します。
指定されたattributesは、クローニングされてから新しいTrustedCertificateEntryオブジェクトに格納されます。
trustedCert - 信頼できるCertificateattributes - 属性NullPointerException - trustedCertまたはattributesがnullの場合public Certificate getTrustedCertificate()
Certficateを取得します。Certificatepublic 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も参照してください。