Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 9, 2019 14:50
Show Gist options
  • Save nleiva/d19402530d7bb52154cea55a5f015a68 to your computer and use it in GitHub Desktop.
Save nleiva/d19402530d7bb52154cea55a5f015a68 to your computer and use it in GitHub Desktop.
type Certificate struct {
...
Signature []byte
SignatureAlgorithm SignatureAlgorithm
PublicKeyAlgorithm PublicKeyAlgorithm
PublicKey interface{}
Version int
SerialNumber *big.Int
Issuer pkix.Name
Subject pkix.Name
NotBefore, NotAfter time.Time // Validity bounds.
KeyUsage KeyUsage
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment