Class ECDSAPublicKey

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.eac.PublicKeyDataObject
org.bouncycastle.asn1.eac.ECDSAPublicKey
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class ECDSAPublicKey extends PublicKeyDataObject
an Iso7816ECDSAPublicKeyStructure structure.
  Certificate Holder Authorization ::= SEQUENCE {
      ASN1TaggedObject primeModulusP;        // OPTIONAL
      ASN1TaggedObject firstCoefA;            // OPTIONAL
      ASN1TaggedObject secondCoefB;        // OPTIONAL
      ASN1TaggedObject basePointG;            // OPTIONAL
      ASN1TaggedObject orderOfBasePointR;    // OPTIONAL
      ASN1TaggedObject publicPointY;        //REQUIRED
      ASN1TaggedObject    cofactorF;            // OPTIONAL
  }
 
  • Constructor Details

  • Method Details

    • getUsage

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getUsage()
      Specified by:
      getUsage in class PublicKeyDataObject
    • getBasePointG

      public byte[] getBasePointG()
    • getCofactorF

      public BigInteger getCofactorF()
    • getFirstCoefA

      public BigInteger getFirstCoefA()
    • getOrderOfBasePointR

      public BigInteger getOrderOfBasePointR()
    • getPrimeModulusP

      public BigInteger getPrimeModulusP()
    • getPublicPointY

      public byte[] getPublicPointY()
    • getSecondCoefB

      public BigInteger getSecondCoefB()
    • hasParameters

      public boolean hasParameters()
    • getASN1EncodableVector

      public org.bouncycastle.asn1.ASN1EncodableVector getASN1EncodableVector(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, boolean publicPointOnly)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object