📄 local.asn
字号:
--
-- CMS specific ASN.1 definitions, all other definitions are from PKIX, part 1
--
-- for certificate validation, we need the raw form of the signed portion
-- so use the following definition to just parse the outer information
XCertificate ::= SEQUENCE {
tbsCertificate ANY,
signatureAlgorithm AlgorithmIdentifier,
signature BIT_STRING
}
-- RSA public key definition from X.509 --
RSAKey ::= SEQUENCE {
modulus INTEGER,
exponent INTEGER
}
-- DSS definitions
DSAPublicKey ::= INTEGER -- public key Y
-- PKCS #10 --
Attributes ::= SET_OF Attribute
CertificationRequestInfo ::= SEQUENCE {
version Version,
subject Name,
subjectPublicKeyInfo SubjectPublicKeyInfo,
attributes [0] IMPLICIT Attributes
}
CertificationRequest ::= SEQUENCE {
certificationRequestInfo CertificationRequestInfo,
signatureAlgorithm AlgorithmIdentifier,
signature BIT_STRING
}
-- PKCS-1
md5 OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 5 }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -