removed unimplemented private/public key function declarations
authorMartin Willi <martin@strongswan.org>
Wed, 19 Mar 2008 14:21:56 +0000 (14:21 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 19 Mar 2008 14:21:56 +0000 (14:21 -0000)
src/libstrongswan/credentials/keys/private_key.h
src/libstrongswan/credentials/keys/public_key.h

index fbb5abf..e698745 100644 (file)
@@ -111,33 +111,4 @@ struct private_key_t {
     void (*destroy)(private_key_t *this);
 };
 
-/**
- * Read a private key from a file.
- * 
- * @param type                 type of the key
- * @param filename             filename to read key from
- * @param passphrase   passphrase to decrypt an encrypted key
- * @return                             loaded private key, NULL if failed
- */
-private_key_t *private_key_create_from_file(key_type_t type, char *filename,
-                                                                                   chunk_t passphrase);
-
-/**
- * Create a private key from a chunk.
- * 
- * @param type                 type of the key
- * @param chunk                        chunk to create key from
- * @return                             loaded private key, NULL if failed
- */
-private_key_t *private_key_create_from_chunk(key_type_t type, chunk_t chunk);
-
-/**
- * Generate a new private key.
- * 
- * @param type                 type of the key
- * @param size                 key size in bytes
- * @return                             generated private key, NULL if failed
- */
-private_key_t *private_key_create_generated(key_type_t type, size_t size);
-
 #endif /* PRIVATE_KEY_H_ @} */
index 2083db5..02a4410 100644 (file)
@@ -142,22 +142,4 @@ struct public_key_t {
        void (*destroy)(public_key_t *this);
 };
 
-/**
- * Read a public key from a file.
- * 
- * @param type                 type of the key
- * @param filename             filename to read key from
- * @return                             loaded public key, NULL if failed
- */
-public_key_t *public_key_create_from_file(key_type_t type, char *filename);
-
-/**
- * Create a public key from a chunk.
- * 
- * @param type                 type of the key
- * @param chunk                        chunk to create key from
- * @return                             loaded public key, NULL if failed
- */
-public_key_t *public_key_create_from_chunk(key_type_t type, chunk_t chunk);
-
 #endif /* PUBLIC_KEY_H_ @} */