java.lang.Object
swim.security.ReconSignature
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReconSignature
hash()
static ReconSignature
final Value
payload()
final Value
static ReconSignature
sign
(PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader) final Value
protected Data
static ReconSignature
signRsa
(PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader) static ReconSignature
signRsa
(Signature signature, PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader) toValue()
boolean
verifyRsaSignature
(Signature signature, PublicKey publicKey) boolean
verifySignature
(PublicKey publicKey)
-
Field Details
-
payload
-
protectedHeader
-
signatureHeader
-
-
Constructor Details
-
ReconSignature
-
-
Method Details
-
payload
-
protectedHeader
-
signatureHeader
-
hash
-
signingInput
-
verifySignature
-
verifyRsaSignature
-
toValue
-
from
-
parse
-
signRsa
public static ReconSignature signRsa(Signature signature, PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader) -
signRsa
public static ReconSignature signRsa(PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader) -
sign
public static ReconSignature sign(PrivateKey privateKey, Value payload, Value protectedHeader, Value unprotectedHeader)
-