Package io.jans.as.client.util
Class KeyGeneratorContext
- java.lang.Object
-
- io.jans.as.client.util.KeyGeneratorContext
-
public class KeyGeneratorContext extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description KeyGeneratorContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateExpiration()
io.jans.as.model.crypto.AbstractCryptoProvider
getCryptoProvider()
Calendar
getExpiration()
int
getExpirationDays()
long
getExpirationForKeyOpsType(io.jans.as.model.jwk.KeyOpsType keyOpsType)
int
getExpirationHours()
int
getKeyLength()
io.jans.as.model.jwk.KeyOpsType
getKeyOpsType()
TestPropFile
getTestPropFile()
void
setCryptoProvider(io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
void
setExpiration(Calendar expiration)
void
setExpirationDays(int expirationDays)
void
setExpirationHours(int expirationHours)
void
setKeyLength(int keyLength)
void
setKeyOpsType(io.jans.as.model.jwk.KeyOpsType keyOpsType)
void
setTestPropFile(TestPropFile testPropFile)
-
-
-
Method Detail
-
calculateExpiration
public void calculateExpiration()
-
getExpirationForKeyOpsType
public long getExpirationForKeyOpsType(io.jans.as.model.jwk.KeyOpsType keyOpsType)
-
getKeyOpsType
public io.jans.as.model.jwk.KeyOpsType getKeyOpsType()
-
setKeyOpsType
public void setKeyOpsType(io.jans.as.model.jwk.KeyOpsType keyOpsType)
-
getExpiration
public Calendar getExpiration()
-
setExpiration
public void setExpiration(Calendar expiration)
-
getKeyLength
public int getKeyLength()
-
setKeyLength
public void setKeyLength(int keyLength)
-
getTestPropFile
public TestPropFile getTestPropFile()
-
setTestPropFile
public void setTestPropFile(TestPropFile testPropFile)
-
getCryptoProvider
public io.jans.as.model.crypto.AbstractCryptoProvider getCryptoProvider()
-
setCryptoProvider
public void setCryptoProvider(io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
-
getExpirationDays
public int getExpirationDays()
-
setExpirationDays
public void setExpirationDays(int expirationDays)
-
getExpirationHours
public int getExpirationHours()
-
setExpirationHours
public void setExpirationHours(int expirationHours)
-
-