Class: Ccrypto::X509Cert

Inherits:
Object
  • Object
show all
Defined in:
lib/ccrypto/x509_cert.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x509) ⇒ X509Cert

Returns a new instance of X509Cert.


7
8
9
# File 'lib/ccrypto/x509_cert.rb', line 7

def initialize(x509)
  @nativeX509 = x509
end

Instance Attribute Details

#nativeX509Object

Returns the value of attribute nativeX509.


5
6
7
# File 'lib/ccrypto/x509_cert.rb', line 5

def nativeX509
  @nativeX509
end

Class Method Details

.load_x509(*args, &block) ⇒ Object


11
12
13
# File 'lib/ccrypto/x509_cert.rb', line 11

def X509Cert.load_x509(*args, &block)
  Provider.instance.provider.load_x509(*args, &block)
end