Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::X509::CRLクラス
クラスの継承リスト: OpenSSL::X509::CRL < Object < Kernel < BasicObject
CRL(証明書失効リスト) クラス。
CRL とは、危殆化した等なんらかの理由で失効した証明書のリストです。 通常 CA によって発行されるものです。 OpenSSL::X509::Store に組込むことで失効した証明書の検証を 失敗させることができます。
通常 CRL の信頼性を確認するためには CRL になされた 署名を検証する必要があります。
定義 | 説明 | |
---|---|---|
new -> OpenSSL::X509::CRL
|
CRL(証明書失効リスト)オブジェクトを生成します。 |
定義 | 説明 | |
---|---|---|
add_extension(ex) -> OpenSSL::X509::Extension
|
拡張領域に ex を追加します。 |
|
add_revoked(rev) -> OpenSSL::X509::Revoked
|
失効証明書リストに新たな要素を加えます。 |
|
extensions -> [OpenSSL::X509::Extension]
|
CRL が持っている拡張領域のデータを配列で返します。 |
|
extensions=(extensions)
|
CRL の拡張領域を extensions で更新します。 |
|
issuer -> OpenSSL::X509::Name
|
CRL の発行者を返します。 |
|
issuer=(issuer)
|
CRL の発行者を設定します。 |
|
last_update -> Time
|
CRL が最後に更新された日時を Time オブジェクトで返します。 |
|
last_update=(time)
|
CRL が最後に更新された日時を Time オブジェクトで設定します。 |
|
next_update -> Time
|
CRL の次回更新日時を Time オブジェクトで返します。 |
|
next_update=(time)
|
CRL の次回更新日時を Time オブジェクトで設定します。 |
|
revoked -> [OpenSSL::X509::Revoked]
|
自身が持っている失効した証明書の配列を返します。 |
|
revoked=(revs)
|
失効証明書リストを更新します。 |
|
sign(pkey, digest) -> self
|
CRL に秘密鍵で署名します。 |
|
signature_algorithm -> String
|
署名に使ったアルゴリズム名を文字列で返します。 |
|
to_der -> String
|
DER 形式に変換します。 |
|
to_pem -> String
|
PEM 形式に変換します。 |
|
to_text -> String
|
人間が読める形式に変換します。 |
|
verify(key) -> bool
|
発行者の公開鍵で CRL に記載されている署名を検証します。 |
|
version -> Integer
|
その CRL が準拠している規格のバージョンを返します。 |
|
version=(version)
|
その CRL が準拠している規格のバージョンを設定します。 |
!
!=
==
===
=~
__id__
__send__
_dump
class
clone
dclone
display
enum_for
eql?
equal?
extend
freeze
frozen?
hash
initialize
initialize_copy
inspect
instance_eval
instance_exec
instance_of?
instance_variable_defined?
instance_variable_get
instance_variable_set
instance_variables
is_a?
marshal_dump
marshal_load
method
method_missing
methods
must_be
must_be_close_to
must_be_empty
must_be_instance_of
must_be_kind_of
must_be_nil
must_be_same_as
must_be_within_epsilon
must_equal
must_include
must_match
must_raise
must_respond_to
must_send
must_throw
nil?
pretty_inspect
pretty_print
pretty_print_cycle
pretty_print_inspect
pretty_print_instance_variables
private_methods
protected_methods
public_methods
remove_instance_variable
respond_to?
respond_to_missing?
singleton_class
singleton_method_added
singleton_method_removed
singleton_method_undefined
singleton_methods
taint
tainted?
tap
to_a
to_ary
to_hash
to_int
to_io
to_proc
to_regexp
to_str
to_yaml
to_yaml_properties
to_yaml_style
trust
untaint
untrust
untrusted?
wont_be
wont_be_close_to
wont_be_empty
wont_be_instance_of
wont_be_kind_of
wont_be_nil
wont_be_same_as
wont_be_within_epsilon
wont_equal
wont_include
wont_match
wont_respond_to