Class KeyGeneratorContext


  • public class KeyGeneratorContext
    extends Object
    Author:
    Yuriy Z
    • Constructor Detail

      • KeyGeneratorContext

        public KeyGeneratorContext()
    • 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)
      • 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)