Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Classes X509SignatureAlgorithm

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
module juptune.data.x509.asn1convert;

abstract abstract class X509SignatureAlgorithm
{
    /++ STRUCTS ++/
    
    /// DSA + SHA1 (RFC 3279) 
    static struct DsaWithSha1
    {
        /++ VARIABLES ++/
        
        ///
        ulong r;
        ///
        ulong s;
    }
    /// DSA + SHA224 (RFC 5754) 
    static struct DsaWithSha244
    {
    }
    /// DSA + SHA256 (RFC 5754) 
    static struct DsaWithSha256
    {
    }
    /// ECDSA + SHA244 (RFC 5754) 
    static struct EcdsaWith244
    {
    }
    /// ECDSA + SHA256 (RFC 5754) 
    static struct EcdsaWith256
    {
    }
    /// ECDSA + SHA384 (RFC 5754) 
    static struct EcdsaWith384
    {
    }
    /// ECDSA + SHA512 (RFC 5754) 
    static struct EcdsaWith512
    {
    }
    /// ECDSA + SHA1 (RFC 3279) 
    static struct EcdsaWithSha1
    {
        /++ VARIABLES ++/
        
        ///
        ulong r;
        ///
        ulong s;
    }
    /// RSA + MD2 (RFC 3279) 
    static struct Md2WithRsaEncryption
    {
    }
    /// RSA + MD5 (RFC 3279) 
    static struct Md5WithRsaEncryption
    {
    }
    /// RSA + SHA1 (RFC 3279) 
    static struct Sha1WithRsaEncryption
    {
    }
    /// RSA + SHA244 (RFC 5754) 
    static struct Sha244WithRsaEncryption
    {
    }
    /// RSA + SHA256 (RFC 5754) 
    static struct Sha256WithRsaEncryption
    {
    }
    /// RSA + SHA384 (RFC 5754) 
    static struct Sha384WithRsaEncryption
    {
    }
    /// RSA + SHA512 (RFC 5754) 
    static struct Sha512WithRsaEncryption
    {
    }
    /// An unknown signature was encountered - user code may be able to recognise it though. 
    static struct Unknown
    {
        /++ VARIABLES ++/
        
        ///
        AlgorithmIdentifier identifier;
    }
    
    /++ ALIASES ++/
    
    /// A SumType of all possible signature algorithms. 
    alias SumT = SumType!(X509SignatureAlgorithm.Unknown, X509SignatureAlgorithm.Md2WithRsaEncryption, X509SignatureAlgorithm.Md5WithRsaEncryption, X509SignatureAlgorithm.Sha1WithRsaEncryption, X509SignatureAlgorithm.DsaWithSha1, X509SignatureAlgorithm.EcdsaWithSha1, X509SignatureAlgorithm.DsaWithSha244, X509SignatureAlgorithm.DsaWithSha256, X509SignatureAlgorithm.Sha244WithRsaEncryption, X509SignatureAlgorithm.Sha256WithRsaEncryption, X509SignatureAlgorithm.Sha384WithRsaEncryption, X509SignatureAlgorithm.Sha512WithRsaEncryption, X509SignatureAlgorithm.EcdsaWith244, X509SignatureAlgorithm.EcdsaWith256, X509SignatureAlgorithm.EcdsaWith384, X509SignatureAlgorithm.EcdsaWith512);
    
}

Documentation

Namespace class used to store all supported signature algorithms.

Aliases

Name Description
SumT

A SumType of all possible signature algorithms.

Structs

Name Description
DsaWithSha1

DSA + SHA1 (RFC 3279)

DsaWithSha244

DSA + SHA224 (RFC 5754)

DsaWithSha256

DSA + SHA256 (RFC 5754)

EcdsaWith244

ECDSA + SHA244 (RFC 5754)

EcdsaWith256

ECDSA + SHA256 (RFC 5754)

EcdsaWith384

ECDSA + SHA384 (RFC 5754)

EcdsaWith512

ECDSA + SHA512 (RFC 5754)

EcdsaWithSha1

ECDSA + SHA1 (RFC 3279)

Md2WithRsaEncryption

RSA + MD2 (RFC 3279)

Md5WithRsaEncryption

RSA + MD5 (RFC 3279)

Sha1WithRsaEncryption

RSA + SHA1 (RFC 3279)

Sha244WithRsaEncryption

RSA + SHA244 (RFC 5754)

Sha256WithRsaEncryption

RSA + SHA256 (RFC 5754)

Sha384WithRsaEncryption

RSA + SHA384 (RFC 5754)

Sha512WithRsaEncryption

RSA + SHA512 (RFC 5754)

Unknown

An unknown signature was encountered - user code may be able to recognise it though.