Class KeyAttributes

java.lang.Object
org.webpki.sks.KeyAttributes

public class KeyAttributes extends Object
  • Constructor Details

    • KeyAttributes

      public KeyAttributes(short symmetricKeyLength, X509Certificate[] certificatePath, byte appUsage, String friendlyName, String[] endorsedAlgorithms, String[] extensionTypes)
  • Method Details

    • isSymmetricKey

      public boolean isSymmetricKey()
    • getSymmetricKeyLength

      public short getSymmetricKeyLength()
    • getCertificatePath

      public X509Certificate[] getCertificatePath()
    • getAppUsage

      public AppUsage getAppUsage() throws SKSException
      Throws:
      SKSException
    • getFriendlyName

      public String getFriendlyName()
    • getEndorsedAlgorithms

      public LinkedHashSet<String> getEndorsedAlgorithms()
    • getExtensionTypes

      public LinkedHashSet<String> getExtensionTypes()