Class BCFrodoPublicKey

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Key, java.security.PublicKey, FrodoKey

    @Deprecated
    public class BCFrodoPublicKey
    extends java.lang.Object
    implements java.security.PublicKey, FrodoKey
    Deprecated.
    the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.
    See Also:
    Serialized Form
    • Constructor Detail

      • BCFrodoPublicKey

        public BCFrodoPublicKey​(SubjectPublicKeyInfo keyInfo)
                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Compare this Frodo public key with another object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - the other object
        Returns:
        the result of the comparison
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • getAlgorithm

        public final java.lang.String getAlgorithm()
        Deprecated.
        Specified by:
        getAlgorithm in interface java.security.Key
        Returns:
        name of the algorithm - "Frodo"
      • getEncoded

        public byte[] getEncoded()
        Deprecated.
        Specified by:
        getEncoded in interface java.security.Key
      • getFormat

        public java.lang.String getFormat()
        Deprecated.
        Specified by:
        getFormat in interface java.security.Key