42件ヒット
[1-42件を表示]
(0.053秒)
クラス
- CSV (11)
-
OpenSSL
:: PKCS7 (22) -
RubyVM
:: InstructionSequence (9)
キーワード
- encrypt (11)
-
load
_ from _ binary _ extra _ data (9) - new (11)
- sign (11)
検索結果
先頭4件
-
RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String (18603.0) -
バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。
...埋め込まれたextra_dataを取り出します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}
@see RubyVM::InstructionSequence#to_binary... -
OpenSSL
:: PKCS7 . encrypt(certs , data , cipher=nil , flags=0) -> OpenSSL :: PKCS7 (377.0) -
data を証明書の公開鍵で暗号化します。
...data を証明書の公開鍵で暗号化します。
暗号化は複数の公開鍵を用いてすることが可能です。そのためには
複数の証明書を配列で渡します。
data には任意の文字列を渡せますが、一般的には MIME 形式の文字列を渡します。......はこれを使ってはいけません。
* OpenSSL::PKCS7::BINARY
data に MIME 正規化をほどこしません。
@param certs 公開鍵を含む証明書(OpenSSL::X509::Certificate オブジェクト)の配列
@param data 暗号化対象の文字列
@param cipher 共通鍵暗号の方... -
CSV
. new(data , options = Hash . new) -> CSV (375.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
...てください。
他の位置から処理したい場合はあらかじめそのように設定した StringIO を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用し......selected even if it occurs in a quoted field, assuming that you
would have the same line endings there. If none of those sequences is
found, +data+ is ARGF, Object::STDIN, Object::STDOUT, or
Object::STDERR, or the stream is only available for output, the default
$INPUT_RECORD_SEPARATOR (......n binary mode on Windows if this
feature will be used as the line-ending translation can cause
problems with resetting the document position to where it was before the
read ahead. This String will be transcoded into the data's Encoding before parsing.
: :quote_char
フィールドをク... -
OpenSSL
:: PKCS7 . sign(cert , key , data , certs = [] , flags = 0) -> OpenSSL :: PKCS7 (365.0) -
data に証明書と秘密鍵で署名します。
...data に証明書と秘密鍵で署名します。
cert に署名に使う証明書を、key にその証明書に対応する秘密鍵を
渡します。certs に OpenSSL::X509::Certificate オブジェクトの配列 を
渡すと OpenSSL::PKCS7 オブジェクトにそれらの証明書が追加......量を減らすために用います。
* OpenSSL::PKCS7::DETACHED
クリア署名(multipart/signed)をする。
* OpenSSL::PKCS7::BINARY
data に MIME 正規化を施さない。
* OpenSSL::PKCS7::NOATTR
PKCS#7 autenticatedAttributes (署名時刻など)をオブジェクト......SL::X509::Certificate オブジェクト)
@param key 署名に用いる秘密鍵(OpenSSL::PKey::PKey のサブクラスのオブジェクト)
@param data 署名対象のデータ文字列
@param certs 添付する証明書群(OpenSSL::X509::Certificate オブジェクトの配列)
@param flags フ...