encoding/pem.Block.Type (field)

12 uses

	encoding/pem (current package)
		pem.go#L30: 	Type    string            // The type, taken from the preamble (i.e. "RSA PRIVATE KEY").
		pem.go#L111: 			Type:    string(typeLine),
		pem.go#L254: 	if _, err := out.Write([]byte(b.Type + "-----\n")); err != nil {
		pem.go#L301: 	_, err := out.Write([]byte(b.Type + "-----\n"))

	crypto/tls
		tls.go#L256: 		if certDERBlock.Type == "CERTIFICATE" {
		tls.go#L259: 			skippedBlockTypes = append(skippedBlockTypes, certDERBlock.Type)
		tls.go#L286: 		if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") {
		tls.go#L289: 		skippedBlockTypes = append(skippedBlockTypes, keyDERBlock.Type)

	crypto/x509
		cert_pool.go#L214: 		if block.Type != "CERTIFICATE" || len(block.Headers) != 0 {
		pem_decrypt.go#L225: 		Type: blockType,
		x509.go#L1686: 		if block != nil && block.Type == pemType {