]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 fbb5abf020f846083499fdfb67d7e67350e63f77..e6987459cc6fa17d86b35aa0d84c6d3bcfe1b0f4 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 2083db5a11f7b18e28f83b6018f656264f7ef893..02a4410ff061ae0c2d51056dd36736c1671e08bc 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_ @} */