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(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
java.math.BigInteger p,
java.math.BigInteger a,
java.math.BigInteger b,
byte[] basePoint,
java.math.BigInteger order,
byte[] publicPoint,
int cofactor) |
ECDSAPublicKey(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
byte[] ppY) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1EncodableVector |
getASN1EncodableVector(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean publicPointOnly) |
byte[] |
getBasePointG() |
java.math.BigInteger |
getCofactorF() |
java.math.BigInteger |
getFirstCoefA() |
java.math.BigInteger |
getOrderOfBasePointR() |
java.math.BigInteger |
getPrimeModulusP() |
byte[] |
getPublicPointY() |
java.math.BigInteger |
getSecondCoefB() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getUsage() |
boolean |
hasParameters() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getInstancepublic ECDSAPublicKey(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
byte[] ppY)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic ECDSAPublicKey(org.bouncycastle.asn1.ASN1ObjectIdentifier usage,
java.math.BigInteger p,
java.math.BigInteger a,
java.math.BigInteger b,
byte[] basePoint,
java.math.BigInteger order,
byte[] publicPoint,
int cofactor)
public org.bouncycastle.asn1.ASN1ObjectIdentifier getUsage()
getUsage in class PublicKeyDataObjectpublic byte[] getBasePointG()
public java.math.BigInteger getCofactorF()
public java.math.BigInteger getFirstCoefA()
public java.math.BigInteger getOrderOfBasePointR()
public java.math.BigInteger getPrimeModulusP()
public byte[] getPublicPointY()
public java.math.BigInteger getSecondCoefB()
public boolean hasParameters()
public org.bouncycastle.asn1.ASN1EncodableVector getASN1EncodableVector(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean publicPointOnly)
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object