[python extension] minor function name updates

This commit is contained in:
Michael Rash
2013-03-19 21:22:32 -04:00
parent 8c3cab0269
commit b92fcce648
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ print "Timestamp:", fko.timestamp()
print "Username:", fko.username()
print "Digest Type (value):", fko.digest_type()
print "Digest Type (string):", fko.digest_type_str()
print "Digest:", fko.digest()
print "Digest:", fko.spa_digest()
print "SPA Message:", fko.spa_message()

View File

@@ -69,7 +69,7 @@ FKO_DIGEST_SHA256 = 3
FKO_DIGEST_SHA384 = 4
FKO_DIGEST_SHA512 = 5
"""Digest type constants
"""Hmac type constants
"""
FKO_HMAC_INVALID_DATA = -1
FKO_HMAC_UNKNOWN = 0
@@ -482,7 +482,7 @@ class Fko:
else:
return _fko.get_spa_encryption_mode(self.ctx)
def spa_hmac_type(self, val=None):
def hmac_type(self, val=None):
"""Get or set the spa_hmac_type
This is an integer value. If no argument is given, the current value