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#L131: 			Type:    string(typeLine),
		pem.go#L269: 	if _, err := out.Write([]byte(b.Type + "-----\n")); err != nil {
		pem.go#L316: 	_, err := out.Write([]byte(b.Type + "-----\n"))

	crypto/tls
		tls.go#L278: 		if certDERBlock.Type == "CERTIFICATE" {
		tls.go#L281: 			skippedBlockTypes = append(skippedBlockTypes, certDERBlock.Type)
		tls.go#L308: 		if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") {
		tls.go#L311: 		skippedBlockTypes = append(skippedBlockTypes, keyDERBlock.Type)

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