/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ext/node_crypto/pkcs3.rs
20 строк
494 B
Marvin Hagemeister
chore: split up deno_node to improve compile times (#32142)
13 фев 2026, 18:48
Не верифицирован
13 фев 2026, 18:48
1108e77
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. // // PKCS #3: Diffie-Hellman Key Agreement Standard use der::Sequence; use spki::der; use spki::der::asn1; // The parameters fields associated with OID dhKeyAgreement // // DHParameter ::= SEQUENCE { // prime INTEGER, -- p // base INTEGER, -- g // privateValueLength INTEGER OPTIONAL } #[derive(Clone, Sequence)] pub struct DhParameter { pub prime: asn1::Int, pub base: asn1::Int, pub private_value_length: Option<asn1::Int>, }