public interface CaptureContext
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
ctx(String type) |
static CaptureContext |
fromJwt(String jwt) |
Date |
getCreated()
JWT jti claim
|
Date |
getExpiry()
JWT jti claim
|
String |
getFlexOrigin() |
String |
getId()
JWT jti claim
|
Map<String,String> |
getJsonWebKey() |
PublicKey |
getPublicKey()
Retrieves a public encryption key from capture context.
|
String |
getTokensPath() |
String |
jwe(Map<String,Object> map)
Creates an encrypted JWT from provided data.
|
String |
toString()
Returns underlying Capture Context, as returned from CyberSource Flex service.
|
static CaptureContext fromJwt(String jwt)
String getId()
Date getExpiry()
Date getCreated()
PublicKey getPublicKey()
String jwe(Map<String,Object> map)
map - data to be encryptedString getFlexOrigin()
String getTokensPath()
String toString()
Copyright © 2022. All rights reserved.