()
| 850 | } |
| 851 | |
| 852 | func (k CryptoKey) DecodeString() ([]byte, error) { |
| 853 | return hex.DecodeString(k.Secret.String) |
| 854 | } |
| 855 | |
| 856 | func (k CryptoKey) CanSign(now time.Time) bool { |
| 857 | isAfterStart := !k.StartsAt.IsZero() && !now.Before(k.StartsAt) |
no outgoing calls