その他令和8年2月27日
電子証明書関連のASN.1定義(Extension, AlgorithmIdentifier等)
出典:官報発行サイトの掲載情報を加工しています。AI 抽出や OCR に誤りが含まれる可能性があるため、 重要な確認は公式原文を基準にしてください。
本文と原文の対照
まず左側の本文を読み、必要な箇所だけ原文ページで確認できる構成です。
← 同日の官報に戻る
原文対照の表示オプション
電子証明書関連のASN.1定義(Extension, AlgorithmIdentifier等)
本文はAI抽出です。左の段落を選ぶと、右側の官報原文画像で該当箇所を照合できます。
Extension ::= SEQUENCE {
extnId EXTENSION.&id ({ExtensionsSet}),
critical BOOLEAN DEFAULT FALSE,
extnValue OCTET STRING }
ExtensionSet EXTENSION ::= { authorityKeyIdentifier |
subjectKeyIdentifier |
keyUsage |
privateKeyUsagePeriod |
certificatePolicies |
basicConstraints |
authorityInfoAccess |
jCertificatePolicies |
registrar |
registeredCorporateInfo |
orDistributionPoints }
EXTENSION ::= CLASS {
&id OBJECT IDENTIFIER UNIQUE,
&extnType }
WITH SYNTAX {
SYNTAX &extnType
IDENTIFIED BY &id }
SIGNED { ToBeSigned } ::= SEQUENCE {
toBeSigned ToBeSigned
algorithm AlgorithmIdentifier.
signature BIT STRING }
AlgorithmIdentifier ::= SEQUENCE {
algorithm ALGORITHM-ID.&id({SupportedAlgorithms}),
parameters ALGORITHM-ID.&Type({SupportedAlgorithms}{@algorithm}) OPTIONAL }
ALGORITHM-ID ::= CLASS {
&id OBJECT IDENTIFIER UNIQUE.
&Type OPTIONAL }
WITH SYNTAX { OID &id [PARMS &Type] }
SupportedAlgorithms ALGORITHM-ID ::= { ... -- extensible
rsaPublicKey |
rsasha-256 }
rsaPublicKey ALGORITHM-ID ::= { OID rsaEncryption PARMS NULL }
rsasha-256 ALGORITHM-ID ::= { OID sha256WithRSAEncryption PARMS NULL }
pkcs-1 OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1 }
rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }
-- subjectPublicKey syntax
RSAPublicKey ::= SEQUENCE {
modulus INTEGER, -- n
publicExponent INTEGER -- e }
sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }
AttributeTypeAndValue ::= SEQUENCE {
type ATTRIBUTE.&id ({SupportedAttributes}),
value ATTRIBUTE.&Type({SupportedAttributes}{@type}) }
Name ::= CHOICE {
rdnSequence RDNSequence }
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
ID ::= OBJECT IDENTIFIER
ATTRIBUTE ::= CLASS {
&Type,
&id OBJECT IDENTIFIER UNIQUE }
WITH SYNTAX {
WITH SYNTAX &Type
ID &id }
SupportedAttributes ATTRIBUTE ::= {
commonName | countryName | organizationName | organizationalUnitName }
commonName ATTRIBUTE ::= {
WITH SYNTAX DirectoryString {ub-common-name}
ID id-at-commonName }
countryName ATTRIBUTE ::= {
WITH SYNTAX PrintableString (SIZE (2))
ID id-at-countryName }
organizationName ATTRIBUTE ::= {
WITH SYNTAX DirectoryString {ub-organization-name}
ID id-at-organizationName }
organizationalUnitName ATTRIBUTE ::= {
WITH SYNTAX DirectoryString {ub-organizational-unit-name}
ID id-at-organizationalUnitName }
id-at OBJECT IDENTIFIER ::= {joint-iso-ccitt(2) ds(5) 4}
id-at-commonName OBJECT IDENTIFIER ::= {id-at 3}
id-at-countryName OBJECT IDENTIFIER ::= {id-at 6}
id-at-organizationName OBJECT IDENTIFIER ::= {id-at 10}
id-at-organizationalUnitName OBJECT IDENTIFIER ::= {id-at 11}
DirectoryString { INTEGER:maxSize } ::= CHOICE {
printableString PrintableString (SIZE (1..maxSize)),
utf8String UTF8String (SIZE (1..maxSize))
}
ub-common-name INTEGER ::= 64
ub-organization-name INTEGER ::= 64
ub-organizational-unit-name INTEGER ::= 64
END
2 Implicitly Tagged Module
MOJCorpertImplicit { 1 2 392 100300 1 4 2 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
--EXPORTS ALL --
IMPORTS
Name, CertificateSerialNumber, DirectoryString, EXTENSION
FROM MOJCorpertExplicit { 1 2 392 100300 1 4 1 };
authorityKeyIdentifier EXTENSION ::= {
SYNTAX AuthorityKeyIdentifier
IDENTIFIED BY id-ce-authorityKeyIdentifier }
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier,
authorityCertIssuer [1] GeneralNames,
authorityCertSerialNumber [2] CertificateSerialNumber }
KeyIdentifier ::= OCTET STRING
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
GeneralName ::= CHOICE {
directoryName [4] Name,
uniformResourceIdentifier [6] IA5String
}
subjectKeyIdentifier EXTENSION ::= {
SYNTAX SubjectKeyIdentifier
IDENTIFIED BY id-ce-subjectKeyIdentifier }
SubjectKeyIdentifier ::= KeyIdentifier
keyUsage EXTENSION ::= {
SYNTAX KeyUsage
IDENTIFIED BY id-ce-keyUsage }
KeyUsage ::= BIT STRING {
digitalSignature (0),
nonRepudiation (1),
keyEncipherment (2),
dataEncipherment (3),
keyAgreement (4),
keyCertSign (5),
cRLSign (6),
encipherOnly (7),
decipherOnly (8)
}
privateKeyUsagePeriod EXTENSION ::= {
SYNTAX PrivateKeyUsagePeriod
IDENTIFIED BY { id-ce-privateKeyUsagePeriod } }
PrivateKeyUsagePeriod ::= SEQUENCE {
notBefore [0] GeneralizedTime,
notAfter [1] GeneralizedTime }
certificatePolicies EXTENSION ::= {
SYNTAX CertificatePoliciesSyntax
IDENTIFIED BY id-ce-certificatePolicies }
CertificatePoliciesSyntax ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo }
CertPolicyId ::= OBJECT IDENTIFIER
PolicyQualifierInfo ::= SEQUENCE {
policyQualifierId CERT-POLICY-QUALIFIER.&id ({SupportedPolicyQualifiers}),
qualifier CERT-POLICY-QUALIFIER.&qualifier (@policyQualifierId) }
SupportedPolicyQualifiers CERT-POLICY-QUALIFIER ::= { noticeUser }
CERT-POLICY-QUALIFIER ::= CLASS {
&id OBJECT IDENTIFIER UNIQUE,
&qualifier }
WITH SYNTAX {
POLICY-QUALIFIER-ID &id
QUALIFIER-TYPE &qualifier }
noticeUser CERT-POLICY-QUALIFIER ::= {
POLICY-QUALIFIER-ID id-qt-unotice QUALIFIER-TYPE UserNotice }
UserNotice ::= SEQUENCE {
noticeRef NoticeReference,
explicitText DisplayText }
NoticeReference ::= SEQUENCE {
organization DisplayText,
noticeNumbers SEQUENCE OF INTEGER }
DisplayText ::= CHOICE {
visibleString VisibleString (SIZE (1..200)),
utf8String UTF8String (SIZE (1..200)) }
basicConstraints EXTENSION ::= {
SYNTAX BasicConstraintsSyntax
IDENTIFIED BY id-ce-basicConstraints }
BasicConstraintsSyntax ::= SEQUENCE {
cA BOOLEAN DEFAULT FALSE }
authorityInfoAccess EXTENSION ::= {
SYNTAX AuthorityInfoAccessSyntax
IDENTIFIED BY id-pe-authorityInfoAccess }
AuthorityInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
AccessDescription ::= SEQUENCE {
accessMethod OBJECT IDENTIFIER,
accessLocation GeneralName }
jCertificatePolicies EXTENSION ::= {
SYNTAX JCertificatePoliciesSyntax
IDENTIFIED BY id-regsteredcert-pe-jCertificatePolicies }
JCertificatePoliciesSyntax ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
registrar EXTENSION ::= {
SYNTAX RegistrarSyntax
IDENTIFIED BY id-regsteredcert-pe-registrar }
RegistrarSyntax ::= DirectoryString{ub-registrar}
registeredCorporationInfo EXTENSION ::= {
SYNTAX RegisteredCorporationInfoSyntax
IDENTIFIED BY id-regsteredcert-pe-registeredCorporationInfo }
RegisteredCorporationInfoSyntax ::= SEQUENCE {
corporateName [0] EXPLICIT DirectoryString{ub-corporate-name},
regNumber [1] EXPLICIT PrintableString,
corporateAddress [2] EXPLICIT DirectoryString{ub-corporate-address},
representativeDirectorName [3] EXPLICIT DirectoryString{ub-representative-director-name},
representativeDirectorTitle [4] EXPLICIT DirectoryString{ub-representative-director-title},
registryOffice [6] EXPLICIT DirectoryString{ub-registry-office} }
crlDistributionPoints EXTENSION ::= {
SYNTAX CRLDistPointsSyntax
IDENTIFIED BY id-ce-CRLDistributionPoints }
p.74 / 3
読み込み中...
テキスト領域
選択中
非公開 (PII)