diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2001-11-19 12:44:57 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2001-11-19 12:44:57 +0000 |
commit | cceffafefe8d78e8b7b8d0c4563ec0d48f44eed3 (patch) | |
tree | fd1286c83be09812fd97b3ac0b58f15ce374fa00 /test | |
parent | dd5dc9508d397e96ee4aa849f411567e78b49e32 (diff) | |
download | ruby-openssl-history-cceffafefe8d78e8b7b8d0c4563ec0d48f44eed3.tar.gz |
added X509::Certificate .to_der
Diffstat (limited to 'test')
-rwxr-xr-x | test/ossl_x509.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ossl_x509.rb b/test/ossl_x509.rb index c8b5b07..4a7abe3 100755 --- a/test/ossl_x509.rb +++ b/test/ossl_x509.rb @@ -58,5 +58,8 @@ p ext4 = maker.create_extension(["authorityKeyIdentifier", "keyid:always,issuer: #puts ext1.to_str p new.add_extension(ext4) p new.sign(key, Digest::MD5.new) +puts "===PEM===" puts new.to_str +puts "===DER===" +p new.to_der |