Object
Adds support for a few helper methods to X509 certs.
# File lib/arachni/rpc/em/ssl.rb, line 18 def ==( other ) other.respond_to?( :to_pem ) && to_pem == other.to_pem end
A serial must be unique for each certificate. Self-signed certificates, and thus root CA certificates, have the same `issuer' as `subject'.
# File lib/arachni/rpc/em/ssl.rb, line 24 def top_level? serial == serial && issuer.to_s == subject.to_s end
Generated with the Darkfish Rdoc Generator 2.