public class ECDSAPublicKey extends PublicKeyDataObject
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 and Description |
|---|
ECDSAPublicKey(ASN1ObjectIdentifier usage,
BigInteger p,
BigInteger a,
BigInteger b,
byte[] basePoint,
BigInteger order,
byte[] publicPoint,
int cofactor) |
ECDSAPublicKey(ASN1ObjectIdentifier usage,
byte[] ppY) |
| Modifier and Type | Method and Description |
|---|---|
ASN1EncodableVector |
getASN1EncodableVector(ASN1ObjectIdentifier oid,
boolean publicPointOnly) |
byte[] |
getBasePointG() |
BigInteger |
getCofactorF() |
BigInteger |
getFirstCoefA() |
BigInteger |
getOrderOfBasePointR() |
BigInteger |
getPrimeModulusP() |
byte[] |
getPublicPointY() |
BigInteger |
getSecondCoefB() |
ASN1ObjectIdentifier |
getUsage() |
boolean |
hasParameters() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
getInstanceequals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic ECDSAPublicKey(ASN1ObjectIdentifier usage, byte[] ppY) throws IllegalArgumentException
IllegalArgumentExceptionpublic ECDSAPublicKey(ASN1ObjectIdentifier usage, BigInteger p, BigInteger a, BigInteger b, byte[] basePoint, BigInteger order, byte[] publicPoint, int cofactor)
public ASN1ObjectIdentifier getUsage()
getUsage in class PublicKeyDataObjectpublic byte[] getBasePointG()
public BigInteger getCofactorF()
public BigInteger getFirstCoefA()
public BigInteger getOrderOfBasePointR()
public BigInteger getPrimeModulusP()
public byte[] getPublicPointY()
public BigInteger getSecondCoefB()
public boolean hasParameters()
public ASN1EncodableVector getASN1EncodableVector(ASN1ObjectIdentifier oid, boolean publicPointOnly)
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1ObjectCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.