pkcs1.go 326 B

123456789101112131415
  1. // Copyright 2011 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package legacyx509
  5. import (
  6. "math/big"
  7. )
  8. // pkcs1PublicKey reflects the ASN.1 structure of a PKCS #1 public key.
  9. type pkcs1PublicKey struct {
  10. N *big.Int
  11. E int
  12. }