Class: JOSE::SignedBinary

Inherits:
String
  • Object
show all
Defined in:
lib/jose/jws.rb

Instance Method Summary collapse

Instance Method Details

#expandObject

Expands a compacted signed binary or list of signed binaries into a map.

See Also:


6
7
8
# File 'lib/jose/jws.rb', line 6

def expand
  return JOSE::JWS.expand(self)
end

#peek_payloadObject

Returns the decoded payload portion of a signed binary or map without verifying the signature.

See Also:


12
13
14
# File 'lib/jose/jws.rb', line 12

def peek_payload
  return JOSE::JWS.peek_payload(self)
end

#peek_protectedObject

Returns the decoded protected portion of a signed binary or map without verifying the signature.

See Also:


18
19
20
# File 'lib/jose/jws.rb', line 18

def peek_protected
  return JOSE::JWS.peek_protected(self)
end

#peek_signatureObject

Returns the decoded signature portion of a signed binary or map without verifying the signature.

See Also:


24
25
26
# File 'lib/jose/jws.rb', line 24

def peek_signature
  return JOSE::JWS.peek_signature(self)
end