|
@@ -33,21 +33,41 @@ type
|
|
|
class var
|
|
class var
|
|
|
|
|
|
|
|
FIsBooted: Boolean;
|
|
FIsBooted: Boolean;
|
|
|
- FTeleTrusTAlgorithm, FRipeMD160, FRipeMD128, FRipeMD256, FECSign,
|
|
|
|
|
- FECSignWithSha1, FECSignWithRipeMD160, FEccBrainpool, FEllipticCurve,
|
|
|
|
|
|
|
+ FTeleTrusT, FAlgorithm, FEncryptionAlgorithm, FHashAlgorithm,
|
|
|
|
|
+ FSignatureAlgorithm, FSignatureScheme,
|
|
|
|
|
+ FRipeMD160, FRipeMD128, FRipeMD256,
|
|
|
|
|
+ FRsaSignature, FRsaSignatureWithRipeMD160, FRsaSignatureWithRipeMD128,
|
|
|
|
|
+ FRsaSignatureWithRipeMD256,
|
|
|
|
|
+ FECSign, FECSignWithSha1, FECSignWithRipeMD160, FECSignWithMD2,
|
|
|
|
|
+ FECSignWithMD5, FTttEcg, FEcStdCurvesAndGeneration,
|
|
|
|
|
+ FEccBrainpool, FEllipticCurve,
|
|
|
FVersionOne, FBrainpoolP160R1, FBrainpoolP160T1, FBrainpoolP192R1,
|
|
FVersionOne, FBrainpoolP160R1, FBrainpoolP160T1, FBrainpoolP192R1,
|
|
|
FBrainpoolP192T1, FBrainpoolP224R1, FBrainpoolP224T1, FBrainpoolP256R1,
|
|
FBrainpoolP192T1, FBrainpoolP224R1, FBrainpoolP224T1, FBrainpoolP256R1,
|
|
|
FBrainpoolP256T1, FBrainpoolP320R1, FBrainpoolP320T1, FBrainpoolP384R1,
|
|
FBrainpoolP256T1, FBrainpoolP320R1, FBrainpoolP320T1, FBrainpoolP384R1,
|
|
|
FBrainpoolP384T1, FBrainpoolP512R1, FBrainpoolP512T1
|
|
FBrainpoolP384T1, FBrainpoolP512R1, FBrainpoolP512T1
|
|
|
: IDerObjectIdentifier;
|
|
: IDerObjectIdentifier;
|
|
|
|
|
|
|
|
|
|
+ class function GetTeleTrusT: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetTeleTrusTAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetEncryptionAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetHashAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetSignatureAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetSignatureScheme: IDerObjectIdentifier; static; inline;
|
|
|
class function GetRipeMD128: IDerObjectIdentifier; static; inline;
|
|
class function GetRipeMD128: IDerObjectIdentifier; static; inline;
|
|
|
class function GetRipeMD160: IDerObjectIdentifier; static; inline;
|
|
class function GetRipeMD160: IDerObjectIdentifier; static; inline;
|
|
|
class function GetRipeMD256: IDerObjectIdentifier; static; inline;
|
|
class function GetRipeMD256: IDerObjectIdentifier; static; inline;
|
|
|
- class function GetTeleTrusTAlgorithm: IDerObjectIdentifier; static; inline;
|
|
|
|
|
|
|
+ class function GetRsaSignature: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetRsaSignatureWithRipeMD160: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetRsaSignatureWithRipeMD128: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetRsaSignatureWithRipeMD256: IDerObjectIdentifier; static; inline;
|
|
|
class function GetECSign: IDerObjectIdentifier; static; inline;
|
|
class function GetECSign: IDerObjectIdentifier; static; inline;
|
|
|
- class function GetECSignWithRipeMD160: IDerObjectIdentifier; static; inline;
|
|
|
|
|
class function GetECSignWithSha1: IDerObjectIdentifier; static; inline;
|
|
class function GetECSignWithSha1: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetECSignWithRipeMD160: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetECSignWithMD2: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetECSignWithMD5: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetTttEcg: IDerObjectIdentifier; static; inline;
|
|
|
|
|
+ class function GetEcStdCurvesAndGeneration: IDerObjectIdentifier; static; inline;
|
|
|
|
|
|
|
|
class function GetBrainpoolP160R1: IDerObjectIdentifier; static; inline;
|
|
class function GetBrainpoolP160R1: IDerObjectIdentifier; static; inline;
|
|
|
class function GetBrainpoolP160T1: IDerObjectIdentifier; static; inline;
|
|
class function GetBrainpoolP160T1: IDerObjectIdentifier; static; inline;
|
|
@@ -71,15 +91,27 @@ type
|
|
|
|
|
|
|
|
public
|
|
public
|
|
|
|
|
|
|
|
|
|
+ class property TeleTrusT: IDerObjectIdentifier read GetTeleTrusT;
|
|
|
|
|
+ class property Algorithm: IDerObjectIdentifier read GetAlgorithm;
|
|
|
|
|
+ class property TeleTrusTAlgorithm: IDerObjectIdentifier read GetTeleTrusTAlgorithm;
|
|
|
|
|
+ class property EncryptionAlgorithm: IDerObjectIdentifier read GetEncryptionAlgorithm;
|
|
|
|
|
+ class property HashAlgorithm: IDerObjectIdentifier read GetHashAlgorithm;
|
|
|
|
|
+ class property SignatureAlgorithm: IDerObjectIdentifier read GetSignatureAlgorithm;
|
|
|
|
|
+ class property SignatureScheme: IDerObjectIdentifier read GetSignatureScheme;
|
|
|
class property RipeMD160: IDerObjectIdentifier read GetRipeMD160;
|
|
class property RipeMD160: IDerObjectIdentifier read GetRipeMD160;
|
|
|
class property RipeMD128: IDerObjectIdentifier read GetRipeMD128;
|
|
class property RipeMD128: IDerObjectIdentifier read GetRipeMD128;
|
|
|
class property RipeMD256: IDerObjectIdentifier read GetRipeMD256;
|
|
class property RipeMD256: IDerObjectIdentifier read GetRipeMD256;
|
|
|
- class property TeleTrusTAlgorithm: IDerObjectIdentifier
|
|
|
|
|
- read GetTeleTrusTAlgorithm;
|
|
|
|
|
|
|
+ class property RsaSignature: IDerObjectIdentifier read GetRsaSignature;
|
|
|
|
|
+ class property RsaSignatureWithRipeMD160: IDerObjectIdentifier read GetRsaSignatureWithRipeMD160;
|
|
|
|
|
+ class property RsaSignatureWithRipeMD128: IDerObjectIdentifier read GetRsaSignatureWithRipeMD128;
|
|
|
|
|
+ class property RsaSignatureWithRipeMD256: IDerObjectIdentifier read GetRsaSignatureWithRipeMD256;
|
|
|
class property ECSign: IDerObjectIdentifier read GetECSign;
|
|
class property ECSign: IDerObjectIdentifier read GetECSign;
|
|
|
class property ECSignWithSha1: IDerObjectIdentifier read GetECSignWithSha1;
|
|
class property ECSignWithSha1: IDerObjectIdentifier read GetECSignWithSha1;
|
|
|
- class property ECSignWithRipeMD160: IDerObjectIdentifier
|
|
|
|
|
- read GetECSignWithRipeMD160;
|
|
|
|
|
|
|
+ class property ECSignWithRipeMD160: IDerObjectIdentifier read GetECSignWithRipeMD160;
|
|
|
|
|
+ class property ECSignWithMD2: IDerObjectIdentifier read GetECSignWithMD2;
|
|
|
|
|
+ class property ECSignWithMD5: IDerObjectIdentifier read GetECSignWithMD5;
|
|
|
|
|
+ class property TttEcg: IDerObjectIdentifier read GetTttEcg;
|
|
|
|
|
+ class property EcStdCurvesAndGeneration: IDerObjectIdentifier read GetEcStdCurvesAndGeneration;
|
|
|
|
|
|
|
|
class property EccBrainpool: IDerObjectIdentifier read GetEccBrainpool;
|
|
class property EccBrainpool: IDerObjectIdentifier read GetEccBrainpool;
|
|
|
class property EllipticCurve: IDerObjectIdentifier read GetEllipticCurve;
|
|
class property EllipticCurve: IDerObjectIdentifier read GetEllipticCurve;
|
|
@@ -121,27 +153,39 @@ implementation
|
|
|
|
|
|
|
|
{ TTeleTrusTObjectIdentifiers }
|
|
{ TTeleTrusTObjectIdentifiers }
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetTeleTrusTAlgorithm
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetTeleTrusT: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
- result := FTeleTrusTAlgorithm;
|
|
|
|
|
|
|
+ result := FTeleTrusT;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetECSign: IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetAlgorithm: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
- result := FECSign;
|
|
|
|
|
|
|
+ result := FAlgorithm;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetECSignWithRipeMD160
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetTeleTrusTAlgorithm: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
- result := FECSignWithRipeMD160;
|
|
|
|
|
|
|
+ result := FAlgorithm;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetECSignWithSha1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetEncryptionAlgorithm: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
- result := FECSignWithSha1;
|
|
|
|
|
|
|
+ result := FEncryptionAlgorithm;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetHashAlgorithm: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FHashAlgorithm;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetSignatureAlgorithm: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FSignatureAlgorithm;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetSignatureScheme: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FSignatureScheme;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
class function TTeleTrusTObjectIdentifiers.GetRipeMD128: IDerObjectIdentifier;
|
|
class function TTeleTrusTObjectIdentifiers.GetRipeMD128: IDerObjectIdentifier;
|
|
@@ -159,8 +203,62 @@ begin
|
|
|
result := FRipeMD256;
|
|
result := FRipeMD256;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetEccBrainpool
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetRsaSignature: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FRsaSignature;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetRsaSignatureWithRipeMD160: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FRsaSignatureWithRipeMD160;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetRsaSignatureWithRipeMD128: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FRsaSignatureWithRipeMD128;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetRsaSignatureWithRipeMD256: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FRsaSignatureWithRipeMD256;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetECSign: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FECSign;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetECSignWithSha1: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FECSignWithSha1;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetECSignWithRipeMD160: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FECSignWithRipeMD160;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetECSignWithMD2: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FECSignWithMD2;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetECSignWithMD5: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FECSignWithMD5;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetTttEcg: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FTttEcg;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetEcStdCurvesAndGeneration: IDerObjectIdentifier;
|
|
|
|
|
+begin
|
|
|
|
|
+ result := FEcStdCurvesAndGeneration;
|
|
|
|
|
+end;
|
|
|
|
|
+
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetEccBrainpool: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FEccBrainpool;
|
|
result := FEccBrainpool;
|
|
|
end;
|
|
end;
|
|
@@ -170,92 +268,77 @@ begin
|
|
|
result := FVersionOne;
|
|
result := FVersionOne;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetEllipticCurve
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetEllipticCurve: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FEllipticCurve;
|
|
result := FEllipticCurve;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP160R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP160R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP160R1;
|
|
result := FBrainpoolP160R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP160T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP160T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP160T1;
|
|
result := FBrainpoolP160T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP192R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP192R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP192R1;
|
|
result := FBrainpoolP192R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP192T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP192T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP192T1;
|
|
result := FBrainpoolP192T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP224R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP224R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP224R1;
|
|
result := FBrainpoolP224R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP224T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP224T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP224T1;
|
|
result := FBrainpoolP224T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP256R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP256R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP256R1;
|
|
result := FBrainpoolP256R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP256T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP256T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP256T1;
|
|
result := FBrainpoolP256T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP320R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP320R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP320R1;
|
|
result := FBrainpoolP320R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP320T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP320T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP320T1;
|
|
result := FBrainpoolP320T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP384R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP384R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP384R1;
|
|
result := FBrainpoolP384R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP384T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP384T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP384T1;
|
|
result := FBrainpoolP384T1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP512R1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP512R1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP512R1;
|
|
result := FBrainpoolP512R1;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-class function TTeleTrusTObjectIdentifiers.GetBrainpoolP512T1
|
|
|
|
|
- : IDerObjectIdentifier;
|
|
|
|
|
|
|
+class function TTeleTrusTObjectIdentifiers.GetBrainpoolP512T1: IDerObjectIdentifier;
|
|
|
begin
|
|
begin
|
|
|
result := FBrainpoolP512T1;
|
|
result := FBrainpoolP512T1;
|
|
|
end;
|
|
end;
|
|
@@ -264,39 +347,58 @@ class procedure TTeleTrusTObjectIdentifiers.Boot;
|
|
|
begin
|
|
begin
|
|
|
if not FIsBooted then
|
|
if not FIsBooted then
|
|
|
begin
|
|
begin
|
|
|
- FTeleTrusTAlgorithm := TDerObjectIdentifier.Create('1.3.36.3');
|
|
|
|
|
- FRipeMD160 := TDerObjectIdentifier.Create(TeleTrusTAlgorithm.ID + '.2.1');
|
|
|
|
|
- FRipeMD128 := TDerObjectIdentifier.Create(TeleTrusTAlgorithm.ID + '.2.2');
|
|
|
|
|
- FRipeMD256 := TDerObjectIdentifier.Create(TeleTrusTAlgorithm.ID + '.2.3');
|
|
|
|
|
-
|
|
|
|
|
- FECSign := TDerObjectIdentifier.Create(TeleTrusTAlgorithm.ID + '.3.2');
|
|
|
|
|
-
|
|
|
|
|
- FECSignWithSha1 := TDerObjectIdentifier.Create(ECSign.ID + '.1');
|
|
|
|
|
- FECSignWithRipeMD160 := TDerObjectIdentifier.Create(ECSign.ID + '.2');
|
|
|
|
|
-
|
|
|
|
|
- FEccBrainpool := TDerObjectIdentifier.Create(TeleTrusTAlgorithm.ID +
|
|
|
|
|
- '.3.2.8');
|
|
|
|
|
- FEllipticCurve := TDerObjectIdentifier.Create(EccBrainpool.ID + '.1');
|
|
|
|
|
- FVersionOne := TDerObjectIdentifier.Create(EllipticCurve.ID + '.1');
|
|
|
|
|
-
|
|
|
|
|
- FBrainpoolP160R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.1');
|
|
|
|
|
- FBrainpoolP160T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.2');
|
|
|
|
|
- FBrainpoolP192R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.3');
|
|
|
|
|
- FBrainpoolP192T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.4');
|
|
|
|
|
- FBrainpoolP224R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.5');
|
|
|
|
|
- FBrainpoolP224T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.6');
|
|
|
|
|
- FBrainpoolP256R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.7');
|
|
|
|
|
- FBrainpoolP256T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.8');
|
|
|
|
|
- FBrainpoolP320R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.9');
|
|
|
|
|
- FBrainpoolP320T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.10');
|
|
|
|
|
- FBrainpoolP384R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.11');
|
|
|
|
|
- FBrainpoolP384T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.12');
|
|
|
|
|
- FBrainpoolP512R1 := TDerObjectIdentifier.Create(VersionOne.ID + '.13');
|
|
|
|
|
- FBrainpoolP512T1 := TDerObjectIdentifier.Create(VersionOne.ID + '.14');
|
|
|
|
|
|
|
+ // Base OID: 1.3.36
|
|
|
|
|
+ FTeleTrusT := TDerObjectIdentifier.Create('1.3.36');
|
|
|
|
|
+ FAlgorithm := FTeleTrusT.Branch('3');
|
|
|
|
|
+
|
|
|
|
|
+ // Algorithm sub-branches
|
|
|
|
|
+ FEncryptionAlgorithm := FAlgorithm.Branch('1');
|
|
|
|
|
+ FHashAlgorithm := FAlgorithm.Branch('2');
|
|
|
|
|
+ FSignatureAlgorithm := FAlgorithm.Branch('3');
|
|
|
|
|
+ FSignatureScheme := FAlgorithm.Branch('4');
|
|
|
|
|
+
|
|
|
|
|
+ // Hash algorithms
|
|
|
|
|
+ FRipeMD160 := FHashAlgorithm.Branch('1');
|
|
|
|
|
+ FRipeMD128 := FHashAlgorithm.Branch('2');
|
|
|
|
|
+ FRipeMD256 := FHashAlgorithm.Branch('3');
|
|
|
|
|
+
|
|
|
|
|
+ // RSA Signatures
|
|
|
|
|
+ FRsaSignature := FSignatureAlgorithm.Branch('1');
|
|
|
|
|
+ FRsaSignatureWithRipeMD160 := FRsaSignature.Branch('2');
|
|
|
|
|
+ FRsaSignatureWithRipeMD128 := FRsaSignature.Branch('3');
|
|
|
|
|
+ FRsaSignatureWithRipeMD256 := FRsaSignature.Branch('4');
|
|
|
|
|
+
|
|
|
|
|
+ // EC Signatures
|
|
|
|
|
+ FECSign := FSignatureAlgorithm.Branch('2');
|
|
|
|
|
+ FECSignWithSha1 := FECSign.Branch('1');
|
|
|
|
|
+ FECSignWithRipeMD160 := FECSign.Branch('2');
|
|
|
|
|
+ FECSignWithMD2 := FECSign.Branch('3');
|
|
|
|
|
+ FECSignWithMD5 := FECSign.Branch('4');
|
|
|
|
|
+ FTttEcg := FECSign.Branch('5');
|
|
|
|
|
+ FEcStdCurvesAndGeneration := FECSign.Branch('8');
|
|
|
|
|
+
|
|
|
|
|
+ // Brainpool curves
|
|
|
|
|
+ FEccBrainpool := FEcStdCurvesAndGeneration;
|
|
|
|
|
+ FEllipticCurve := FEccBrainpool.Branch('1');
|
|
|
|
|
+ FVersionOne := FEllipticCurve.Branch('1');
|
|
|
|
|
+
|
|
|
|
|
+ FBrainpoolP160R1 := FVersionOne.Branch('1');
|
|
|
|
|
+ FBrainpoolP160T1 := FVersionOne.Branch('2');
|
|
|
|
|
+ FBrainpoolP192R1 := FVersionOne.Branch('3');
|
|
|
|
|
+ FBrainpoolP192T1 := FVersionOne.Branch('4');
|
|
|
|
|
+ FBrainpoolP224R1 := FVersionOne.Branch('5');
|
|
|
|
|
+ FBrainpoolP224T1 := FVersionOne.Branch('6');
|
|
|
|
|
+ FBrainpoolP256R1 := FVersionOne.Branch('7');
|
|
|
|
|
+ FBrainpoolP256T1 := FVersionOne.Branch('8');
|
|
|
|
|
+ FBrainpoolP320R1 := FVersionOne.Branch('9');
|
|
|
|
|
+ FBrainpoolP320T1 := FVersionOne.Branch('10');
|
|
|
|
|
+ FBrainpoolP384R1 := FVersionOne.Branch('11');
|
|
|
|
|
+ FBrainpoolP384T1 := FVersionOne.Branch('12');
|
|
|
|
|
+ FBrainpoolP512R1 := FVersionOne.Branch('13');
|
|
|
|
|
+ FBrainpoolP512T1 := FVersionOne.Branch('14');
|
|
|
|
|
|
|
|
FIsBooted := True;
|
|
FIsBooted := True;
|
|
|
end;
|
|
end;
|
|
|
-
|
|
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
class constructor TTeleTrusTObjectIdentifiers.TeleTrusTObjectIdentifiers;
|
|
class constructor TTeleTrusTObjectIdentifiers.TeleTrusTObjectIdentifiers;
|
|
@@ -305,3 +407,4 @@ begin
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
end.
|
|
end.
|
|
|
|
|
+
|