Debian Codegraph @

signing_cert_v2_struct.go

raw symbols SCIP
1 package timestamp
2
3 import (
4 "crypto/x509/pkix"
5 "encoding/asn1"
6 "math/big"
7 )
8
9 type issuerAndSerial struct {
10 IssuerName generalNames
11 SerialNumber *big.Int
12 }
13
14 type generalNames struct {
15 Name asn1.RawValue `asn1:"optional,tag:4"`
16 }
17
18 type essCertIDv2 struct {
19 HashAlgorithm pkix.AlgorithmIdentifier `asn1:"optional"` // default sha256
20 CertHash []byte
21 IssuerSerial issuerAndSerial `asn1:"optional"`
22 }
23
24 type signingCertificateV2 struct {
25 Certs []essCertIDv2
26 }