常见的 MIB 设计错误 - (MIB Smithy) 用户指南

本文档详细描述了DSA(数字签名算法)密钥的表示方式,包括私钥和公钥的结构,以及在不同场景下的编码实现。讨论了与BSAFE 4.0的兼容性,并提供了简化编码和解码的结构定义。此外,还涵盖了DSA参数、算法标识符及其在openssl格式中的使用。
摘要由CSDN通过智能技术生成

– EXPORTS All –

IMPORTS
BigIntegerStr
FROM VdaEnhancedTypes
pkcs
FROM PKCS1-OIDS
;

– base OIDs for Apple, Apple Data Security
appleBaseOid OBJECT IDENTIFIER ::= { 1 2 840 113635 }
appleDataSecurity OBJECT IDENTIFIER ::= { appleBaseOid 100 }

– base OIDs for Apple Trust Policies and Algorithms
appleTrustPolicy OBJECT IDENTIFIER ::= { appleDataSecurity 1 }
appleSecurityAlgorithm OBJECT IDENTIFIER ::=蕒 appleDataSecurity 2 }

– Apple trust policy OIDs

appleISignTP OBJECT IDENTIFIER ::= { appleTrustPolicy 1 }
appleX509Basic OBJECT IDENTIFIER ::= { appleTrustPolicy 2 }
appleSSLPolicy OBJECT IDENTIFIER ::= { appleTrustPolicy 3 }

– Apple algorithms
appleFee OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 1 }
appleAsc OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 2 }
appleFeeMD5 OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 3 }
appleFeeSHA1 OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 4 }
appleFeed OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 5 }
appleFeedExp OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 6 }
appleECDSA OBJECT IDENTIFIER ::= { appleSecurityAlgorithm 7 }

– PKCS3 OIDs
pkcs-3 OBJECT IDENTIFIER ::= { pkcs 3 }
dhKeyAgreement OBJECT IDENTIFIER ::= { pkcs-3 1 }

– FEE ElGamal-style signature
FEEElGamalSignature ::= SEQUENCE {
u BigIntegerStr,
pmX BigIntegerStr
}

– FEE ECDSA-style signature
FEEECDSASignature ::= SEQUENCE {
c BigIntegerStr,
d BigIntegerStr
}

– FEE Curve parameters
FEEPrimeTyp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值