View definition

(*SQLStorageAuthority).NewRegistration

Defined in github.com/letsencrypt/boulder/sa/sa.go

Description

NewRegistration stores a new Registration

Examples

	ExampleCSR, _ = x509.ParseCertificateRequest(block.Bytes)

	Registration, _ = ssa.NewRegistration(ctx, core.Registration{
		Key:       AccountKeyA,
		InitialIP: net.ParseIP("3.2.3.3"),

	contact := "mailto:[email protected]"
	contacts := &[]string{contact}
	reg, err := sa.NewRegistration(ctx, core.Registration{
		Key:       jwk,
		Contact:   contacts,

	contact := "mailto:[email protected]"

	_, err := sa.NewRegistration(ctx, core.Registration{
		Key:       jose.JsonWebKey{Key: &rsa.PublicKey{N: big.NewInt(1), E: 1}},
		Contact:   &[]string{contact},

NewRegistration is referenced in 1 repository

github.com/letsencrypt/boulder