| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private transient PKCS12BagAttributeCarrierImpl | |
| private transient ECPrivateKeyParameters | |
| private transient ProviderConfiguration | |
| private transient BigInteger | |
| private transient ECParameterSpec | |
| private transient byte[] | |
| private transient PrivateKeyInfo | |
| private transient ASN1BitString | |
| pack-priv static final long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | |
| public | |
| public | |
| public | BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration)
|
| public | BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration)
|
| public | BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, ProviderConfiguration configuration)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static ECPrivateKeyParameters | |
| public ECPrivateKeyParameters | |
| pack-priv ECParameterSpec | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public ASN1Encodable | |
| public Enumeration | |
| public BigInteger | |
| public byte[] | Returns: a PKCS8 representation of the key.Implements java. Return a PKCS8 representation of the key. |
| public String | Returns: the string "PKCS#8"Implements java. return the encoding format we produce in getEncoded(). |
| public ECParameterSpec | getParameters()
Implements org. return a parameter specification representing the EC domain parameters for the key. |
| public ECParameterSpec | getParams()
Overrides default java. Returns the parameters associated with this key. |
| private PrivateKeyInfo | |
| private ASN1BitString | |
| public BigInteger | |
| public boolean | |
| public int | |
| private void | |
| private void | |
| public void | |
| public void | setFriendlyName(String friendlyName)
Implements org.
|
| public void | setPointFormat(String
the style to use. style)Implements org. Set the formatting for encoding of points. |
| public String | |
| private void |
| algorithm | back to summary |
|---|---|
| private String algorithm | |
| attrCarrier | back to summary |
|---|---|
| private transient PKCS12BagAttributeCarrierImpl attrCarrier | |
| baseKey | back to summary |
|---|---|
| private transient ECPrivateKeyParameters baseKey | |
| configuration | back to summary |
|---|---|
| private transient ProviderConfiguration configuration | |
| d | back to summary |
|---|---|
| private transient BigInteger d | |
| ecSpec | back to summary |
|---|---|
| private transient ECParameterSpec ecSpec | |
| encoding | back to summary |
|---|---|
| private transient byte[] encoding | |
| privateKeyInfo | back to summary |
|---|---|
| private transient PrivateKeyInfo privateKeyInfo | |
| publicKey | back to summary |
|---|---|
| private transient ASN1BitString publicKey | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides java. | |
| withCompression | back to summary |
|---|---|
| private boolean withCompression | |
| BCECPrivateKey | back to summary |
|---|---|
| protected BCECPrivateKey() | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(ECPrivateKey key, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, ECPrivateKeySpec spec, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, ECPrivateKeySpec spec, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, BCECPrivateKey key) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, BCECPublicKey pubKey, ECParameterSpec spec, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| public BCECPrivateKey(String algorithm, ECPrivateKeyParameters params, ProviderConfiguration configuration) | |
| BCECPrivateKey | back to summary |
|---|---|
| pack-priv BCECPrivateKey(String algorithm, PrivateKeyInfo info, ProviderConfiguration configuration) throws IOException | |
| convertToBaseKey | back to summary |
|---|---|
| private static ECPrivateKeyParameters convertToBaseKey(BCECPrivateKey key) | |
| engineGetKeyParameters | back to summary |
|---|---|
| public ECPrivateKeyParameters engineGetKeyParameters() | |
| engineGetSpec | back to summary |
|---|---|
| pack-priv ECParameterSpec engineGetSpec() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getBagAttribute | back to summary |
|---|---|
| public ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid) Implements org. | |
| getBagAttributeKeys | back to summary |
|---|---|
| public Enumeration Implements org. | |
| getD | back to summary |
|---|---|
| public BigInteger getD() Implements org. Doc from org. return the private value D. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Return a PKCS8 representation of the key. The sequence returned represents a full PrivateKeyInfo object.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. return the encoding format we produce in getEncoded().
| |
| getParameters | back to summary |
|---|---|
| public ECParameterSpec getParameters() Implements org. Doc from org. return a parameter specification representing the EC domain parameters for the key. | |
| getParams | back to summary |
|---|---|
| public ECParameterSpec getParams() Overrides default java. Doc from java. Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
| |
| getPrivateKeyInfo | back to summary |
|---|---|
| private PrivateKeyInfo getPrivateKeyInfo() | |
| getPublicKeyDetails | back to summary |
|---|---|
| private ASN1BitString getPublicKeyDetails(BCECPublicKey pub) | |
| getS | back to summary |
|---|---|
| public BigInteger getS() Implements java. Doc from java. Returns the private value S.
| |
| hasFriendlyName | back to summary |
|---|---|
| public boolean hasFriendlyName() Implements org. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| populateFromPrivKeyInfo | back to summary |
|---|---|
| private void populateFromPrivKeyInfo(PrivateKeyInfo info) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| setBagAttribute | back to summary |
|---|---|
| public void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) Implements org. | |
| setFriendlyName | back to summary |
|---|---|
| public void setFriendlyName(String friendlyName) Implements org. | |
| setPointFormat | back to summary |
|---|---|
| public void setPointFormat(String style) Implements org. Doc from org. Set the formatting for encoding of points. If the String "UNCOMPRESSED" is passed in point compression will not be used. If the String "COMPRESSED" is passed point compression will be used. The default is "UNCOMPRESSED".
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |