Class KeyProtectionInfo

java.lang.Object
org.webpki.sks.KeyProtectionInfo

public final class KeyProtectionInfo extends Object
  • Field Details

  • Constructor Details

    • KeyProtectionInfo

      public KeyProtectionInfo(byte protectionStatus, byte pukFormat, short pukRetryLimit, short pukErrorCount, boolean userDefined, boolean userModifiable, byte format, short retryLimit, byte grouping, byte patternRestrictions, short minLength, short maxLength, byte inputMethod, short pinErrorCount, boolean enablePinCaching, byte biometricProtection, byte exportProtection, byte deleteProtection, byte keyBackup) throws SKSException
      Throws:
      SKSException
  • Method Details

    • getSKSProtectionStatus

      public byte getSKSProtectionStatus()
    • hasLocalPukProtection

      public boolean hasLocalPukProtection()
    • getPukFormat

      public PassphraseFormat getPukFormat() throws SKSException
      Throws:
      SKSException
    • getPukErrorCount

      public short getPukErrorCount()
    • getPukRetryLimit

      public short getPukRetryLimit()
    • isPukBlocked

      public boolean isPukBlocked()
    • hasLocalPinProtection

      public boolean hasLocalPinProtection()
    • getPinFormat

      public PassphraseFormat getPinFormat() throws SKSException
      Throws:
      SKSException
    • getPinGrouping

      public Grouping getPinGrouping() throws SKSException
      Throws:
      SKSException
    • getPinMinLength

      public short getPinMinLength()
    • getPinMaxLength

      public short getPinMaxLength()
    • getPinUserModifiableFlag

      public boolean getPinUserModifiableFlag()
    • getPinUserDefinedFlag

      public boolean getPinUserDefinedFlag()
    • getPinInputMethod

      public InputMethod getPinInputMethod()
    • isPinBlocked

      public boolean isPinBlocked()
    • hasDevicePinProtection

      public boolean hasDevicePinProtection()
    • getPinErrorCount

      public short getPinErrorCount()
    • getPinRetryLimit

      public short getPinRetryLimit()
    • getPatternRestrictions

      public Set<PatternRestriction> getPatternRestrictions()
    • getBiometricProtection

      public BiometricProtection getBiometricProtection()
    • getKeyBackup

      public byte getKeyBackup()
    • getExportProtection

      public ExportProtection getExportProtection()
    • getDeleteProtection

      public DeleteProtection getDeleteProtection()
    • getEnablePinCachingFlag

      public boolean getEnablePinCachingFlag()