Merge pull request #126250 from my-git9/pkiutil-consot

kubeadm: remove unused constants in util/pkiutil
This commit is contained in:
Kubernetes Prow Robot 2024-07-21 03:02:57 -07:00 committed by GitHub
commit 815efa2baa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,14 +49,10 @@ import (
)
const (
// PrivateKeyBlockType is a possible value for pem.Block.Type.
PrivateKeyBlockType = "PRIVATE KEY"
// PublicKeyBlockType is a possible value for pem.Block.Type.
PublicKeyBlockType = "PUBLIC KEY"
// CertificateBlockType is a possible value for pem.Block.Type.
CertificateBlockType = "CERTIFICATE"
// RSAPrivateKeyBlockType is a possible value for pem.Block.Type.
RSAPrivateKeyBlockType = "RSA PRIVATE KEY"
)
// CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.