Added eel and eapml in EWF libraries.
Removed them from gitmodule
This commit is contained in:
38
library/crypto/eel/x509/algorithm_identifier.e
Normal file
38
library/crypto/eel/x509/algorithm_identifier.e
Normal file
@@ -0,0 +1,38 @@
|
||||
note
|
||||
description: "x509v3 AlgorithmIdentifier sequence"
|
||||
author: "Colin LeMahieu"
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
quote: "When you subsidize poverty and failure, you get more of both. - James Dale Davidson, National Taxpayers Union"
|
||||
|
||||
class
|
||||
ALGORITHM_IDENTIFIER
|
||||
|
||||
inherit
|
||||
ANY
|
||||
redefine
|
||||
is_equal
|
||||
end
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature
|
||||
make (algorithm_a: OBJECT_IDENTIFIER parameters_a: ALGORITHM_PARAMETERS)
|
||||
do
|
||||
algorithm := algorithm_a
|
||||
parameters := parameters_a
|
||||
end
|
||||
|
||||
is_equal (other: like Current): BOOLEAN
|
||||
do
|
||||
result := algorithm ~ other.algorithm and parameters ~ other.parameters
|
||||
ensure then
|
||||
algorithm ~ other.algorithm
|
||||
parameters ~ other.parameters
|
||||
end
|
||||
|
||||
feature
|
||||
algorithm: OBJECT_IDENTIFIER
|
||||
parameters: ALGORITHM_PARAMETERS
|
||||
end
|
||||
Reference in New Issue
Block a user