top page > computer > web > rfc > rfc5280 > 4_1_basic_certificate_fields
更新日:
文責: 重城良国

4.1. Basic Certificate Fields

(工事中)

署名の計算のために、署名される部分はASN.1のDERでエンコードする必要がある。

Certificate ::= SEQUENCE {
	tbsCertificate		TBSCertificate,
	signatureAlgorithm	AlgorithmIdentifier,
	signatureValue		BIT STRING }
TBSCertificate ::= SEQUENCE {
	version			EXPLICIT Version DEFAULT v1,
	serialNumber		CertificateSerialNumber,
	signature		AlgorithmIdentifier,
	issuer			Name,
	validity		Validity,
	subject			Name,
	subjectPublicKeyInfo	SubjectPublicKeyInfo,
	issuerUniqueID		IMPLICIT UniqueIdentifier OPTIONAL,
				-- If present, version MUST be v2 or v3
	subjectUniqueID		IMPLICIT UniqueIdentifier OPTIONAL,
				-- If present, version MUST be v2 or v3
	extensions		EXPLICIT Extensions OPTIONAL
				-- If present, version MUST be v3
	}
Version ::= INTEGER { v1(0), v2(1), v3(2) }
CertificateSerialNumber ::= INTEGER
Validity ::= SEQUENCE {
	notBefore	Time,
	notAfter	Time }
Time ::= CHOICE {
	utcTime		UTCTime,
	generalTime	GeneralizedTime }
UniqueIdentifier ::= BIT STRING
SubjectPublicKeyInfo ::= SEQUENCE {
	algorithm		AlgorithmIdentifier,
	subjectPublicKey	BIT STRING }
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
	extnID		OBJECT IDENTIFIER,
	critical	BOOLEAN DEFAULT FALSE,
	extnValue	OCTET STRING
			-- contains the DER encoding of an ASN.1 value
			-- corresponding to the extension type identified
			-- by extnID
	}

正当なCSSです! HTML5 Powered with CSS3 / styling, and Semantics