Skip to content

Commit

Permalink
Changed GetAuthenticSigningTime to AuthenticSigningTime
Browse files Browse the repository at this point in the history
Signed-off-by: Kody Kimberl <[email protected]>
  • Loading branch information
kody-kimberl committed Apr 20, 2023
1 parent 1f21f79 commit dd0de6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions signature/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ func (signerInfo *SignerInfo) ExtendedAttribute(key string) (Attribute, error) {
return Attribute{}, errors.New("key not in ExtendedAttributes")
}

// GetAuthenticSigningTime returns the authentic signing time
func (signerInfo *SignerInfo) GetAuthenticSigningTime() (time.Time, error) {
// AuthenticSigningTime returns the authentic signing time
func (signerInfo *SignerInfo) AuthenticSigningTime() (time.Time, error) {
switch signerInfo.SignedAttributes.SigningScheme {
case SigningSchemeX509SigningAuthority:
return signerInfo.SignedAttributes.SigningTime, nil
Expand Down

0 comments on commit dd0de6f

Please sign in to comment.