// //------------------ DOK FILE -------------------------------------------------- +Header core.crypto.sign =pkg core.crypto.sign =title core.crypto.sign =short =desc Documentation in progress... // // //------------------ PROTO ----------------------------------------------------- ANS1_SHA1_MAGIC +Proto ANS1_SHA1_MAGIC =type Str =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- ANS1_SHA256_MAGIC +Proto ANS1_SHA256_MAGIC =type Str =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- ANS1_SHA384_MAGIC +Proto ANS1_SHA384_MAGIC =type Str =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- ANS1_SHA512_MAGIC +Proto ANS1_SHA512_MAGIC =type Str =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- ECDSA_SECP256R1_SHA256 +Proto ECDSA_SECP256R1_SHA256 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- ECDSA_SECP384R1_SHA384 +Proto ECDSA_SECP384R1_SHA384 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PKCS1_SHA1 +Proto RSA_PKCS1_SHA1 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PKCS1_SHA256 +Proto RSA_PKCS1_SHA256 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PKCS1_SHA384 +Proto RSA_PKCS1_SHA384 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PKCS1_SHA512 +Proto RSA_PKCS1_SHA512 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PSS_RSAE_SHA256 +Proto RSA_PSS_RSAE_SHA256 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PSS_RSAE_SHA384 +Proto RSA_PSS_RSAE_SHA384 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- RSA_PSS_RSAE_SHA512 +Proto RSA_PSS_RSAE_SHA512 =type Int =mode constant =pkg core.crypto.sign =impl native =link =desc // // //------------------ PROTO ----------------------------------------------------- signAlgoByOID +Proto signAlgoByOID =type fun Str -> Int =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Str =desc // +arg result =type Int =desc // // //------------------ PROTO ----------------------------------------------------- signatureCheck +Proto signatureCheck =type fun Int Key Str Str -> Bool =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Int =desc // +arg B =type Key =desc // +arg C =type Str =desc // +arg D =type Str =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- signatureCheckFromCertificate +Proto signatureCheckFromCertificate =type fun Int (hashmap Str -> Str) Str Str -> Bool =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Int =desc // +arg B =type hashmap Str -> Str =desc // +arg C =type Str =desc // +arg D =type Str =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- signatureForEc +Proto signatureForEc =type fun Int -> Bool =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Int =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- signatureForRsa +Proto signatureForRsa =type fun Int -> Bool =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Int =desc // +arg result =type Bool =desc // // //------------------ PROTO ----------------------------------------------------- signatureGenerate +Proto signatureGenerate =type fun Int Key Str -> Str =mode Function =pkg core.crypto.sign =impl native =link =desc // +arg A =type Int =desc // +arg B =type Key =desc // +arg C =type Str =desc // +arg result =type Str =desc // // //------------------ PROTO ----------------------------------------------------- ED25519 +Proto ED25519 =type Int =mode constant =pkg core.crypto.sign =impl mcy =link =desc