Skip to content

T_Ekstrand_Encryption_Ciphers_Reflector

Fred Ekstrand edited this page Aug 5, 2020 · 1 revision

Reflector Class

Definedes Reflector operations.

Inheritance Hierarchy

System.Object
  Ekstrand.Encryption.Ciphers.AbstractRotor
    Ekstrand.Encryption.Ciphers.Reflector
Namespace: Ekstrand.Encryption.Ciphers
Assembly: EnigmaBinaryCipher (in EnigmaBinaryCipher.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public class Reflector : AbstractRotor

VB

<SerializableAttribute>
Public Class Reflector
	Inherits AbstractRotor

C++

[SerializableAttribute]
public ref class Reflector : public AbstractRotor

F#

[<SerializableAttribute>]
type Reflector =  
    class
        inherit AbstractRotor
    end

The Reflector type exposes the following members.

Constructors

 

Name Description
Public method Reflector() Initializes a new instance of the Reflector class.
Public method Reflector(EndPointPair(Byte, Byte)[]) Initializes a new instance of the Reflector class.
  Back to Top

Properties

 

Name Description
Public property Cycled Gets a value indicating whether this IRotor has cycled. (Inherited from AbstractRotor.)
Public property Incrementation Gets or Sets the incrementation of the rotor. (Inherited from AbstractRotor.)
Public property NextRotor Gets or sets the next rotor. (Inherited from AbstractRotor.)
Public property Position Gets the current position of the rotor. (Inherited from AbstractRotor.)
Public property StartPosition Gets or sets the start position. (Inherited from AbstractRotor.)
Public property SubstitutionSet Gets or sets the substitution set. (Inherited from AbstractRotor.)
Public property TurnDirection Gets or sets the turn direction. (Inherited from AbstractRotor.)
  Back to Top

Methods

 

Name Description
Public method Clear Clear all settings (Overrides AbstractRotor.Clear().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HasCycled Determines whether this instance has cycled. (Overrides AbstractRotor.HasCycled().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PopulateTransulationPoints Populates the Translation points. (Inherited from AbstractRotor.)
Public method ProcessByte Endcode/Decode byte (Overrides AbstractRotor.ProcessByte(Byte, Boolean).)
Public method Reset Resets back to its start state. (Overrides AbstractRotor.Reset().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Turn Turn a rotor (Overrides AbstractRotor.Turn().)
Protected method ValidateTransulationPoints Validates the Translation points. (Inherited from AbstractRotor.)
  Back to Top

Fields

 

Name Description
Protected field m_LstPosition (Inherited from AbstractRotor.)
Protected field m_SettingsInUse (Inherited from AbstractRotor.)
Protected field m_Translation (Inherited from AbstractRotor.)
  Back to Top

See Also

Reference

Ekstrand.Encryption.Ciphers Namespace
Ekstrand.Encryption.Ciphers.AbstractRotor

Clone this wiki locally