Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
OpenSSL
/
PKey
/
DSA
/
//proc/thread-self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/OpenSSL/PKey/DSA/public_key-i.ri
U:RDoc::AnyMethod[iI"public_key:ETI""OpenSSL::PKey::DSA#public_key;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"NReturns a new DSA instance that carries just the public key information. ;TI"LIf the current instance has also private key information, this will no ;TI"Hlonger be present in the new instance. This feature is helpful for ;TI"Npublishing the public key information without leaking any of the private ;TI"information.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"Mdsa = OpenSSL::PKey::DSA.new(2048) # has public and private information ;TI"Cpub_key = dsa.public_key # has only the public part available ;TI"=pub_key_der = pub_key.to_der # it's safe to publish this;T:@format0: @fileI" ext/openssl/ossl_pkey_dsa.c;T:0@omit_headings_from_table_of_contents_below0I"dsa.public_key -> aDSA ;T0[ I"();T@FI"DSA;TcRDoc::NormalClass00