Interface PublicKey

All Superinterfaces:
Key
All Known Subinterfaces:
DHPublicKey, DSAPublicKey, ECPublicKey, RSAPublicKey, XECPublicKey

public interface PublicKey extends Key
The PublicKey interface is the base interface for public keys used in asymmetric algorithms.
  • Method Summary

    Methods inherited from interface Key

    clearKey, getSize, getType, isInitialized
    Modifier and Type
    Method
    Description
    void
    Clears the key and sets its initialized state to false.
    short
    Returns the key size in number of bits.
    byte
    Returns the key interface type.
    boolean
    Reports the initialized state of the key.