Interface SEPublicKey

All Known Implementing Classes:
SEPublicKeyImpl

public interface SEPublicKey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets a generic encoded form that includes type identification information.
    byte[]
    Raw encoding of the specific key type
    boolean
    equals(Object other)
    Overridden to perform equality based on public key
    int
     
    int
     
    int
     
  • Field Details

  • Method Details

    • getType

      int getType()
    • getInstance

      int getInstance()
    • encodePublicKey

      byte[] encodePublicKey()
      Gets a generic encoded form that includes type identification information. So don't treat this as a raw encoding as it can only sensibly be used to later import via SESecurityManager.decodePublicKey
      Returns:
    • encodeRawPublicKey

      byte[] encodeRawPublicKey()
      Raw encoding of the specific key type
      Returns:
    • equals

      boolean equals(Object other)
      Overridden to perform equality based on public key
      Overrides:
      equals in class Object
      Parameters:
      other -
      Returns:
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object