Class RestAuthCredential
java.lang.Object
com.aeontronix.kryptotek.rest.client.httpcomponents.RestAuthCredential
- All Implemented Interfaces:
org.apache.http.auth.Credentials
public class RestAuthCredential extends Object implements org.apache.http.auth.Credentials
Created by yannick on 11/03/2015.
-
Constructor Summary
Constructors Constructor Description RestAuthCredential(String identity, com.aeontronix.kryptotek.key.SigningKey clientKey, com.aeontronix.kryptotek.key.SignatureVerificationKey serverKey, com.aeontronix.kryptotek.DigestAlgorithm digestAlgorithm)RestAuthCredential(String identity, com.aeontronix.kryptotek.key.SigningKey clientKey, com.aeontronix.kryptotek.key.SignatureVerificationKey serverKey, com.aeontronix.kryptotek.DigestAlgorithm digestAlgorithm, TimeSync timeSync) -
Method Summary
Modifier and Type Method Description com.aeontronix.kryptotek.key.SigningKeygetClientKey()com.aeontronix.kryptotek.DigestAlgorithmgetDigestAlgorithm()StringgetIdentity()StringgetPassword()com.aeontronix.kryptotek.key.SignatureVerificationKeygetServerKey()LonggetTimeDifferential()TimeSyncgetTimeSync()PrincipalgetUserPrincipal()voidsetTimeDifferential(Long timeDifferential)
-
Constructor Details
-
RestAuthCredential
-
RestAuthCredential
public RestAuthCredential(String identity, com.aeontronix.kryptotek.key.SigningKey clientKey, com.aeontronix.kryptotek.key.SignatureVerificationKey serverKey, com.aeontronix.kryptotek.DigestAlgorithm digestAlgorithm)
-
-
Method Details
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceorg.apache.http.auth.Credentials
-
getPassword
- Specified by:
getPasswordin interfaceorg.apache.http.auth.Credentials
-
getIdentity
-
getClientKey
public com.aeontronix.kryptotek.key.SigningKey getClientKey() -
getServerKey
public com.aeontronix.kryptotek.key.SignatureVerificationKey getServerKey() -
getDigestAlgorithm
public com.aeontronix.kryptotek.DigestAlgorithm getDigestAlgorithm() -
getTimeSync
-
getTimeDifferential
-
setTimeDifferential
-