# In order to get a Blob from Keep, you have to prove either
# [a] you have recently written it to Keep yourself, or
# [b] apiserver has recently decided that you should be able to read it
# In order to get a Blob from Keep, you have to prove either
# [a] you have recently written it to Keep yourself, or
# [b] apiserver has recently decided that you should be able to read it
# Blob.sign_locator: return a signed and timestamped blob locator.
#
# The 'opts' argument should include:
# Blob.sign_locator: return a signed and timestamped blob locator.
#
# The 'opts' argument should include:
if !timestamp.match /^[\da-f]+$/
raise Blob::InvalidSignatureError.new 'Timestamp is not a base16 number.'
end
if !timestamp.match /^[\da-f]+$/
raise Blob::InvalidSignatureError.new 'Timestamp is not a base16 number.'
end