github.com/blend/go-sdk@v1.20220411.3/certutil/constants.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package certutil
     9  
    10  // BlockTypes
    11  const (
    12  	BlockTypeCertificate   = "CERTIFICATE"
    13  	BlockTypeRSAPrivateKey = "RSA PRIVATE KEY"
    14  )
    15  
    16  // Not After defaults.
    17  const (
    18  	DefaultCANotAfterYears     = 10
    19  	DefaultClientNotAfterYears = 1
    20  	DefaultServerNotAfterYears = 5
    21  )