kubeadm: remove unused constants in util/pkiutil

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li 2024-07-20 23:30:25 +08:00
parent 892acaa6a7
commit c1dca0ad7c

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.