Class: OpenSSL::X509::Certificate
- Inherits:
-
Object
- Object
- OpenSSL::X509::Certificate
- Defined in:
- lib/wss4r/security/crypto/certificate.rb
Instance Method Summary collapse
Instance Method Details
#filename ⇒ Object
11 12 13 |
# File 'lib/wss4r/security/crypto/certificate.rb', line 11 def filename() return @filename end |
#filename=(filename) ⇒ Object
15 16 17 |
# File 'lib/wss4r/security/crypto/certificate.rb', line 15 def filename=(filename) @filename = filename end |
#key_identifier ⇒ Object
5 6 7 8 9 |
# File 'lib/wss4r/security/crypto/certificate.rb', line 5 def key_identifier() ext = extensions.find {|e| e.oid == 'subjectKeyIdentifier' } key_identifier = Base64.encode64(ext.to_der()[11..30]) return key_identifier.gsub("\n","") end |