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

Structs RsaPublicKey

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
module juptune.crypto.rsa;

struct RsaPublicKey
{
    /++ ALIASES ++/
    
    ///
    alias __xdtor = __MARMOS_BUG__;
    ///
    alias __xpostblit = __MARMOS_BUG__;
    
    /++ FUNCTIONS ++/
    
    ///
    Result encrypt(const ubyte[] plaintext, RsaPadding padding, ubyte[] ciphertext, ubyte[] usedCiphertextSlice);
    ///
    Result encryptedLength(const ubyte[] plaintext, RsaPadding padding, ulong length);
    ///
    static Result fromAsn1RsaPublicKeyBytes(const ubyte[] asn1PublicKeyBytes, RsaPublicKey outResult);
    ///
    static Result fromBigEndianBytes(const ubyte[] modulus, const ubyte[] exponent, RsaPublicKey result);
    ///
    RsaPublicKey opAssign(RsaPublicKey p);
    ///
    Result verifySignature(const ubyte[] signature, const ubyte[] originalData, RsaPadding padding, RsaSignatureAlgorithm signatureAlgorithm, bool success);
    
}

Aliases

Name Description
__xdtor
__xpostblit

Functions

Name Description
encrypt
encryptedLength
fromAsn1RsaPublicKeyBytes
fromBigEndianBytes
opAssign
verifySignature

ON THIS PAGE