class Win32::Certstore::Mixin::Crypto::CRYPT_DATA_BLOB

Public Class Methods

new(str = nil) click to toggle source
Calls superclass method
# File lib/win32/certstore/mixin/crypto.rb, line 159
def initialize(str = nil)
  super(nil)
  if str
    self[:pbData] = FFI::MemoryPointer.from_string(str)
    self[:cbData] = str.size
  end
end