| Modifier and Type | Field and Description |
|---|---|
| private PKCS12BagAttributeCarrier | |
| private DHParameterSpec | |
| private PrivateKeyInfo | |
| pack-priv static final long | |
| pack-priv BigInteger |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public ASN1Encodable | |
| public Enumeration | |
| 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 DHParameterSpec | getParams()
Overrides default javax. Returns the parameters associated with this key. |
| public BigInteger | |
| public boolean | |
| private void | |
| public void | |
| public void | setFriendlyName(String friendlyName)
Implements org.
|
| private void |
| attrCarrier | back to summary |
|---|---|
| private PKCS12BagAttributeCarrier attrCarrier | |
| dhSpec | back to summary |
|---|---|
| private DHParameterSpec dhSpec | |
| info | back to summary |
|---|---|
| private PrivateKeyInfo info | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides javax. | |
| x | back to summary |
|---|---|
| pack-priv BigInteger x | |
| JCEDHPrivateKey | back to summary |
|---|---|
| protected JCEDHPrivateKey() | |
| JCEDHPrivateKey | back to summary |
|---|---|
| pack-priv JCEDHPrivateKey(DHPrivateKey key) | |
| JCEDHPrivateKey | back to summary |
|---|---|
| pack-priv JCEDHPrivateKey(DHPrivateKeySpec spec) | |
| JCEDHPrivateKey | back to summary |
|---|---|
| pack-priv JCEDHPrivateKey(PrivateKeyInfo info) throws IOException | |
| JCEDHPrivateKey | back to summary |
|---|---|
| pack-priv JCEDHPrivateKey(DHPrivateKeyParameters params) | |
| 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. | |
| 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().
| |
| getParams | back to summary |
|---|---|
| public DHParameterSpec getParams() Overrides default javax. Doc from javax. Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
| |
| getX | back to summary |
|---|---|
| public BigInteger getX() Implements javax. Doc from javax. Returns the private value,
| |
| hasFriendlyName | back to summary |
|---|---|
| public boolean hasFriendlyName() Implements org. | |
| 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. | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |