Skip to content

Commit

Permalink
style: cleanup some linter warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Henri Symoneaux <[email protected]>
  • Loading branch information
phsym committed Mar 4, 2025
1 parent c465133 commit dc55d68
Show file tree
Hide file tree
Showing 30 changed files with 152 additions and 162 deletions.
16 changes: 8 additions & 8 deletions attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
AttributeNameUniqueIdentifier AttributeName = "Unique Identifier"
AttributeNameName AttributeName = "Name"
AttributeNameObjectType AttributeName = "Object Type"
// Deprecated: deprecated as of kmip 1.3
// Deprecated: deprecated as of kmip 1.3.
AttributeNameOperationPolicyName AttributeName = "Operation Policy Name"
AttributeNameObjectGroup AttributeName = "Object Group"
AttributeNameContactInformation AttributeName = "Contact Information"
Expand All @@ -44,33 +44,33 @@ const (
AttributeNameState AttributeName = "State"
AttributeNameRevocationReason AttributeName = "Revocation Reason"
AttributeNameLink AttributeName = "Link"
// Deprecated: deprecated as of kmip 1.1
// Deprecated: deprecated as of kmip 1.1.
AttributeNameCertificateIdentifier AttributeName = "Certificate Identifier"
// Deprecated: deprecated as of kmip 1.1
// Deprecated: deprecated as of kmip 1.1.
AttributeNameCertificateSubject AttributeName = "Certificate Subject"
// Deprecated: deprecated as of kmip 1.1
// Deprecated: deprecated as of kmip 1.1.
AttributeNameCertificateIssuer AttributeName = "Certificate Issuer"
AttributeNameUsageLimits AttributeName = "Usage Limits"
AttributeNameApplicationSpecificInformation AttributeName = "Application Specific Information"

// KMIP 1.1
// KMIP 1.1.
AttributeNameCertificateLength AttributeName = "Certificate Length"
AttributeNameFresh AttributeName = "Fresh"
AttributeNameX509CertificateIdentifier AttributeName = "X.509 Certificate Identifier"
AttributeNameX509CertificateSubject AttributeName = "X.509 Certificate Subject"
AttributeNameX509CertificateIssuer AttributeName = "X.509 Certificate Issuer"
AttributeNameDigitalSignatureAlgorithm AttributeName = "Digital Signature Algorithm"

// KMIP 1.2
// KMIP 1.2.
AttributeNameAlternativeName AttributeName = "Alternative Name"
AttributeNameKeyValuePresent AttributeName = "Key Value Present"
AttributeNameKeyValueLocation AttributeName = "Key Value Location"
AttributeNameOriginalCreationDate AttributeName = "Original Creation Date"

// KMIP 1.3
// KMIP 1.3.
AttributeNameRandomNumberGenerator AttributeName = "Random Number Generator"

// KMIP 1.4
// KMIP 1.4.
AttributeNamePKCS_12FriendlyName AttributeName = "PKCS#12 Friendly Name"
AttributeNameDescription AttributeName = "Description"
AttributeNameComment AttributeName = "Comment"
Expand Down
Loading

0 comments on commit dc55d68

Please sign in to comment.