Class: SASL::GssSecureLayer
- Inherits:
-
SecureLayer
- Object
- SecureLayer
- SASL::GssSecureLayer
- Defined in:
- lib/sasl/gssapi.rb
Instance Attribute Summary
Attributes inherited from SecureLayer
Instance Method Summary collapse
-
#initialize(io, ctx) ⇒ GssSecureLayer
constructor
A new instance of GssSecureLayer.
- #unwrap(buf) ⇒ Object
- #wrap(buf) ⇒ Object
Methods inherited from SecureLayer
Constructor Details
#initialize(io, ctx) ⇒ GssSecureLayer
Returns a new instance of GssSecureLayer.
78 79 80 81 |
# File 'lib/sasl/gssapi.rb', line 78 def initialize(io,ctx) super(io) @ctx=ctx end |
Instance Method Details
#unwrap(buf) ⇒ Object
87 88 89 |
# File 'lib/sasl/gssapi.rb', line 87 def unwrap(buf) @ctx.(buf) end |
#wrap(buf) ⇒ Object
83 84 85 |
# File 'lib/sasl/gssapi.rb', line 83 def wrap(buf) @ctx.(buf) end |