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::BlankLineS: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