パッケージ org.postgresql.jdbc
列挙 SslMode
- すべての実装されたインタフェース:
Serializable
,Comparable<SslMode>
,java.lang.constant.Constable
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数列挙型定数説明Start with non-encrypted connection, then try encrypted one.Do not use encrypted connections.Start with encrypted connection, fallback to non-encrypted (default).Ensure connection is encrypted.Ensure connection is encrypted, and client trusts server certificate.Ensure connection is encrypted, client trusts server certificate, and server hostname matches the one listed in the server certificate. -
フィールドの概要
フィールド -
メソッドの概要
-
列挙型定数の詳細
-
DISABLE
Do not use encrypted connections. -
ALLOW
Start with non-encrypted connection, then try encrypted one. -
PREFER
Start with encrypted connection, fallback to non-encrypted (default). -
REQUIRE
Ensure connection is encrypted. -
VERIFY_CA
Ensure connection is encrypted, and client trusts server certificate. -
VERIFY_FULL
Ensure connection is encrypted, client trusts server certificate, and server hostname matches the one listed in the server certificate.
-
-
フィールド詳細
-
VALUES
-
value
-
-
メソッドの詳細
-
values
この列挙型の定数を含む配列を宣言されている順序で 返します。- 戻り値:
- この列挙型の定数を含む、宣言されている順序での配列
-
valueOf
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合
-
requireEncryption
public boolean requireEncryption() -
verifyCertificate
public boolean verifyCertificate() -
verifyPeerName
public boolean verifyPeerName() -
of
- 例外:
PSQLException
-