Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code LNG204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.
java.security.spec

Class EllipticCurve


  • public class EllipticCurve
    extends Object
    This immutable class holds the necessary values needed to represent an elliptic curve.
    Since:
    1.5
    See Also:
    ECField, ECFieldFp, ECFieldF2m
    • Constructor Detail

      • EllipticCurve

        public EllipticCurve(ECField field,
                     BigInteger a,
                     BigInteger b)
        Creates an elliptic curve with the specified elliptic field field and the coefficients a and b.
        Parameters:
        field - the finite field that this elliptic curve is over.
        a - the first coefficient of this elliptic curve.
        b - the second coefficient of this elliptic curve.
        Throws:
        NullPointerException - if field, a, or b is null.
        IllegalArgumentException - if a or b is not null and not in field.
      • EllipticCurve

        public EllipticCurve(ECField field,
                     BigInteger a,
                     BigInteger b,
                     byte[] seed)
        Creates an elliptic curve with the specified elliptic field field, the coefficients a and b, and the seed used for curve generation.
        Parameters:
        field - the finite field that this elliptic curve is over.
        a - the first coefficient of this elliptic curve.
        b - the second coefficient of this elliptic curve.
        seed - the bytes used during curve generation for later validation. Contents of this array are copied to protect against subsequent modification.
        Throws:
        NullPointerException - if field, a, or b is null.
        IllegalArgumentException - if a or b is not null and not in field.
    • Method Detail

      • getField

        public ECField getField()
        Returns the finite field field that this elliptic curve is over.
        Returns:
        the field field that this curve is over.
      • getA

        public BigInteger getA()
        Returns the first coefficient a of the elliptic curve.
        Returns:
        the first coefficient a.
      • getB

        public BigInteger getB()
        Returns the second coefficient b of the elliptic curve.
        Returns:
        the second coefficient b.
      • getSeed

        public byte[] getSeed()
        Returns the seeding bytes seed used during curve generation. May be null if not specified.
        Returns:
        the seeding bytes seed. A new array is returned each time this method is called.
      • equals

        public boolean equals(Object obj)
        Compares this elliptic curve for equality with the specified object.
        Overrides:
        equals in class Object
        Parameters:
        obj - the object to be compared.
        Returns:
        true if obj is an instance of EllipticCurve and the field, A, and B match, false otherwise.
        See Also:
        Object.hashCode(), HashMap

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 04/03/2020
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-rf-java/security/spec/ellipticcurve.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut