Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

PrivateKeyImpl Class Reference

Inherits java::security::PrivateKey.

Inherited by DSAPrivateKeyImpl.

List of all members.


Detailed Description

PrivateKeyImpl.

Public Member Functions

 PrivateKeyImpl (String algorithm)
String getAlgorithm ()
 Answers the name of the algorithm that this key will work with.
String getFormat ()
 Answers the name of the format used to encode the key, or null if it can not be encoded.
byte[] getEncoded ()
 Answers the encoded form of the receiver.
void setAlgorithm (String algorithm)
void setEncoding (byte[] encoding)

Private Attributes

String algorithm
byte[] encoding

Static Private Attributes

static final long serialVersionUID = 7776497482533790279L
 .intel.drl.spec_ref

Constructor & Destructor Documentation

PrivateKeyImpl ( String  algorithm  ) 


Member Function Documentation

String getAlgorithm (  ) 

Answers the name of the algorithm that this key will work with.

If the algorithm is unknown, it answers null.

Returns:
String the receiver's algorithm

Implements Key.

String getFormat (  ) 

Answers the name of the format used to encode the key, or null if it can not be encoded.

Returns:
String the receiver's encoding format

Implements Key.

byte [] getEncoded (  ) 

Answers the encoded form of the receiver.

Returns:
byte[] the encoded form of the receiver

Implements Key.

void setAlgorithm ( String  algorithm  ) 

void setEncoding ( byte[]  encoding  ) 


Member Data Documentation

final long serialVersionUID = 7776497482533790279L [static, private]

.intel.drl.spec_ref

Implements PrivateKey.

Reimplemented in DSAPrivateKeyImpl.

String algorithm [private]

byte [] encoding [private]