Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mpisws.p2p.pki.x509
Interface KeySerializer

All Known Implementing Classes:
  KeySerializerImpl

    public interface KeySerializer

Field Summary
`static byte` | `KEY_PRIVATE`
`static byte` | `KEY_PUBLIC`
`static byte` | `KEY_SECRET`

Method Summary
`java.security.Key` | `deserialize(InputBuffer buf)`
`void` | `serialize(java.security.Key k, OutputBuffer buf)`

Field Detail

### KEY_PRIVATE

    static final byte KEY_PRIVATE

See Also:
  Constant Field Values

### KEY_PUBLIC

    static final byte KEY_PUBLIC

See Also:
  Constant Field Values

### KEY_SECRET

    static final byte KEY_SECRET

See Also:
  Constant Field Values

Method Detail

### serialize

    void serialize(java.security.Key k,
                   OutputBuffer buf)
                   throws java.io.IOException

  Throws:
    `java.io.IOException`

### deserialize

    java.security.Key deserialize(InputBuffer buf)
                                  throws java.io.IOException,
                                         java.security.spec.InvalidKeySpecException,
                                         java.security.NoSuchAlgorithmException,
                                         java.security.NoSuchProviderException

  Throws:
    `java.io.IOException`
    `java.security.spec.InvalidKeySpecException`
    `java.security.NoSuchAlgorithmException`
    `java.security.NoSuchProviderException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.