Exception: Rex::Proto::Kerberos::Model::Error::KerberosEncryptionNotSupported
- Inherits:
-
KerberosError
- Object
- StandardError
- KerberosError
- Rex::Proto::Kerberos::Model::Error::KerberosEncryptionNotSupported
- Defined in:
- lib/rex/proto/kerberos/model/error.rb
Overview
Runtime Error which can be raised by the Rex::Proto::Kerberos API when the Kerberos target does not support the chosen Encryption method
Instance Attribute Summary collapse
-
#encryption_type ⇒ Number
readonly
One of the encryption types defined within Rex::Proto::Kerberos::Crypto.
Attributes inherited from KerberosError
Instance Method Summary collapse
-
#initialize(message = nil, encryption_type: nil) ⇒ KerberosEncryptionNotSupported
constructor
A new instance of KerberosEncryptionNotSupported.
Methods inherited from KerberosError
Constructor Details
#initialize(message = nil, encryption_type: nil) ⇒ KerberosEncryptionNotSupported
Returns a new instance of KerberosEncryptionNotSupported.
193 194 195 |
# File 'lib/rex/proto/kerberos/model/error.rb', line 193 def initialize( = nil, encryption_type: nil) super( || "Kerberos target does not support the required encryption") end |
Instance Attribute Details
#encryption_type ⇒ Number (readonly)
Returns One of the encryption types defined within Rex::Proto::Kerberos::Crypto.
191 192 193 |
# File 'lib/rex/proto/kerberos/model/error.rb', line 191 def encryption_type @encryption_type end |