|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of P2PWNCKey in P2PWNC |
Fields in P2PWNC declared as P2PWNCKey | |
protected P2PWNCKey |
P2PWNCRREQMsgInfo.providerKey
Service provider's public key. |
protected P2PWNCKey |
P2PWNCReceipt.providerPublicKey
|
protected P2PWNCKey |
P2PWNCKeyPair.publicKey
|
protected P2PWNCKey |
P2PWNCKeyPair.secretKey
|
protected P2PWNCKey |
P2PWNCClient.providerKey
Service provider public key. |
protected P2PWNCKey |
P2PWNCClient.clientPrivKey
Consumer (client) secret key. |
protected P2PWNCKey |
P2PWNCCert.teamPublicKey
Issuer team's public key. |
protected P2PWNCKey |
P2PWNCCert.userPublicKey
User's public key. |
Methods in P2PWNC that return P2PWNCKey | |
P2PWNCKey |
P2PWNCio.readKey(java.lang.String path)
|
P2PWNCKey |
P2PWNCio.readKeyBin(java.lang.String path,
int len)
|
P2PWNCKey |
P2PWNCRREQMsgInfo.getProviderKey()
Returns the public key of the service provider of a P2PWNCRREQMsgInfo object. |
P2PWNCKey |
P2PWNCReceipt.getProviderPublicKey()
|
P2PWNCKey |
P2PWNCKeyPair.getPublicKey()
|
P2PWNCKey |
P2PWNCKeyPair.getSecretKey()
|
P2PWNCKey |
P2PWNCCert.getTeamPublicKey()
Returns the team's public key. |
P2PWNCKey |
P2PWNCCert.getUserPublicKey()
Returns the user's public key. |
Methods in P2PWNC with parameters of type P2PWNCKey | |
protected java.security.spec.KeySpec |
P2PWNCCrypt.internalToKeySpec(P2PWNCKey key,
boolean pub)
Converts from internal key representation to Java KeySpec. |
protected java.security.Key |
P2PWNCCrypt.internalToKey(P2PWNCKey key,
boolean pub)
Constructs a Key object from the specified P2PWNCKey input parameter. |
protected byte[] |
P2PWNCCrypt.cryptMessage(byte[] message,
P2PWNCKey key,
int cipherMode,
boolean pub)
Encrypts or decrypts a message using a specified P2PWNCKey ("key" parameter). |
protected P2PWNCSignature |
P2PWNCCrypt.signMessage(P2PWNCKey key,
byte[] message,
boolean pub)
Signs a message using the specified key. |
protected boolean |
P2PWNCCrypt.verifySignature(P2PWNCSignature signature,
P2PWNCKey key,
byte[] message,
boolean pub)
Verifies a P2PWNCSignature. |
protected byte[] |
P2PWNCCrypt.serializeReceiptInfo(P2PWNCCert cert,
P2PWNCKey prov,
int timestamp,
int weight)
Serializes the information contained in a P2PWNC receipt. |
P2PWNCReceipt |
P2PWNCCrypt.constructReceipt(P2PWNCCert cert,
P2PWNCKey prov,
int timestamp,
int weight,
P2PWNCKey key,
boolean pub)
Constructs and signs a P2PWNC receipt. |
static void |
P2PWNCCrypt.cryptTest(P2PWNCKey priv,
P2PWNCKey pub,
byte[] data)
|
void |
P2PWNCReceipt.setProviderPublicKey(P2PWNCKey providerPublicKey)
|
void |
P2PWNCKeyPair.setPublicKey(P2PWNCKey publicKey)
|
void |
P2PWNCKeyPair.setSecretKey(P2PWNCKey secretKey)
|
void |
P2PWNCCert.setTeamPublicKey(P2PWNCKey teamPublicKey)
Sets the team's public key to the specified parameter. |
void |
P2PWNCCert.setUserPublicKey(P2PWNCKey userPublicKey)
Sets the user's public key to the specified parameter. |
Constructors in P2PWNC with parameters of type P2PWNCKey | |
P2PWNCRREQMsgInfo(P2PWNCKey key,
int weight)
Constructs a P2PWNCRREQMsgInfo object with the specified provider key and weight field values. |
|
P2PWNCReceipt(P2PWNCCert consumerCert,
P2PWNCKey providerPublicKey,
int timestamp,
int weight,
P2PWNCSignature receiptSignature)
|
|
P2PWNCKeyPair(P2PWNCKey publicKey,
P2PWNCKey secretKey)
|
|
P2PWNCCert(P2PWNCKey teamPublicKey,
P2PWNCKey userPublicKey,
P2PWNCSignature teamSignature)
Constructs a certificate with the specified parameters as the team's public key, user's public key and team's signature. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |