Class: JOSE::SignedBinary
- Inherits:
-
String
- Object
- String
- JOSE::SignedBinary
- Defined in:
- lib/jose/jws.rb
Instance Method Summary collapse
-
#expand ⇒ Object
Expands a compacted signed binary or list of signed binaries into a map.
-
#peek_payload ⇒ Object
Returns the decoded payload portion of a signed binary or map without verifying the signature.
-
#peek_protected ⇒ Object
Returns the decoded protected portion of a signed binary or map without verifying the signature.
-
#peek_signature ⇒ Object
Returns the decoded signature portion of a signed binary or map without verifying the signature.
Instance Method Details
#expand ⇒ Object
Expands a compacted signed binary or list of signed binaries into a map.
6 7 8 |
# File 'lib/jose/jws.rb', line 6 def return JOSE::JWS.(self) end |
#peek_payload ⇒ Object
Returns the decoded payload portion of a signed binary or map without verifying the signature.
12 13 14 |
# File 'lib/jose/jws.rb', line 12 def peek_payload return JOSE::JWS.peek_payload(self) end |
#peek_protected ⇒ Object
Returns the decoded protected portion of a signed binary or map without verifying the signature.
18 19 20 |
# File 'lib/jose/jws.rb', line 18 def peek_protected return JOSE::JWS.peek_protected(self) end |
#peek_signature ⇒ Object
Returns the decoded signature portion of a signed binary or map without verifying the signature.
24 25 26 |
# File 'lib/jose/jws.rb', line 24 def peek_signature return JOSE::JWS.peek_signature(self) end |