24件ヒット
[1-24件を表示]
(0.009秒)
別のキーワード
クラス
-
OpenSSL
:: OCSP :: BasicResponse (12) - Time (12)
検索結果
先頭2件
-
OpenSSL
:: OCSP :: BasicResponse # sign(signer _ cert , signer _ key , certs = [] , flags=0) -> self (21301.0) -
Response に署名します。
...を検証するために
必要となる別の証明書を付加することができます。
@param signer_cert 署名者の証明書(OpenSSL::X509::Certificate オブジェクト)
@param signer_key 証明に用いる秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param certs 添付する証... -
Time
# strftime(format) -> String (114.0) -
時刻を format 文字列に従って文字列に変換した結果を返します。
...々なISO 8601形式][ruby]{
t = Time.new(2001,2,3,4,5,6,"+09:00")
p t.strftime("%Y%m%d") # => 20010203 Calendar date (basic)
p t.strftime("%F") # => 2001-02-03 Calendar date (extended)
p t.strftime("%Y-%m") # => 2001-02......Y%j") # => 2001034 Ordinal date (basic)
p t.strftime("%Y-%j") # => 2001-034 Ordinal date (extended)
p t.strftime("%GW%V%u") # => 2001W056 Week date (basic)
p t.strftime("%G-W%V-%u") # => 2001-W05-6......ma as decimal sign (basic)
p t.strftime("%T,%L") # => 04:05:06,000 Local time with decimal fraction, comma as decimal sign (extended)
p t.strftime("%H%M%S.%L") # => 040506.000 Local time with decimal fraction, full stop as decimal sign (basic)
p t.strfti...