Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

strongimcv_pki---pkcs7(1) [centos man page]

PKI --PKCS7(1)							    strongSwan							    PKI --PKCS7(1)

NAME
pki --pkcs7 - Provides PKCS#7 wrap/unwrap functions SYNOPSIS
pki --pkcs7 --sign|--verify|--encrypt|--decrypt|--show [--in file] [--cert file] [--key file] [--debug level] pki --pkcs7 --options file pki --pkcs7 -h | --help DESCRIPTION
This sub-command of pki(1) provides functions to wrap/unwrap PKCS#7 containers. OPTIONS
-h, --help Print usage information with a summary of the available options. -v, --debug level Set debug level, default: 1. -+, --options file Read command line options from file. -s, --sign Create PKCS#7 signed-data. -u, --verify Verify PKCS#7 signed-data. -e, --encrypt Create PKCS#7 enveloped-data. -e, --decrypt Decrypt PKCS#7 enveloped-data. -p, --show Show information about PKCS#7 container, list certificates. -i, --in file PKCS#7 input file. If not given the input is read from STDIN. -k, --key file Private key used for --sign and --decrypt. -c, --cert file Certificate for --sign, --verify and --encrypt. Can be used multiple times. SEE ALSO
pki(1) 5.1.1 2013-07-31 PKI --PKCS7(1)

Check Out this Related Man Page

PKI --PUB(1)							    strongSwan							      PKI --PUB(1)

NAME
pki --pub - Extract a public key from a private key or certificate SYNOPSIS
pki --pub [--in file|--keyid hex] [--type type] [--outform encoding] [--debug level] pki --pub --options file pki --pub -h | --help DESCRIPTION
This sub-command of pki(1) extracts public keys from a private keys and certificates. OPTIONS
-h, --help Print usage information with a summary of the available options. -v, --debug level Set debug level, default: 1. -+, --options file Read command line options from file. -i, --in file Input file. If not given the input is read from STDIN. -t, --type type Type of input. One of rsa (RSA private key), ecdsa (ECDSA private key), pub (public key), pkcs10 (PKCS#10 certificate request), or x509 (X.509 certificate), defaults to rsa. -f, --outform encoding Encoding of the extracted public key. One of der (ASN.1 DER), pem (Base64 PEM), dnskey (RFC 3110 DNS key), or sshkey (RFC 4253 SSH key), defaults to der. EXAMPLES
Extract the public key from an RSA private key: pki --pub --in key.der > pub.der Extract the public key from an X.509 certificate: pki --pub --in cert.der --type x509 > pub.der SEE ALSO
pki(1) 5.1.1 2013-07-31 PKI --PUB(1)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

encrypt and decrypt password

how do i encrypt and decrypt a password (2 Replies)
Discussion started by: sanwish
2 Replies

2. Shell Programming and Scripting

pmpasswd

how do i encrypt and decrypt a password in unix.. and what is the use of pmpasswd command in unix kindly help me out (3 Replies)
Discussion started by: sanwish
3 Replies

3. Shell Programming and Scripting

How to encrypt and decrypt a file

How to encrypt and decrypt a file using unix Command? Can any one help me? (2 Replies)
Discussion started by: laknar
2 Replies

4. AIX

decrypt command syntax in AIX

Hi All, Could anyone please share decrypt files command syntax in AIX? Thanks for your time! Regards, (1 Reply)
Discussion started by: a1_win
1 Replies

5. Shell Programming and Scripting

Encrypt and decrypt a string

Hi, I want to encrypt and decrypt a string(database password) which will be used in my scripts. encrypt the string while storing in a file and while using it in other scripts it should decrypt. i tried below method. As it can decrypt easily, it is not recommended. encrypt=`perl -e 'print unpack... (5 Replies)
Discussion started by: rohan10k
5 Replies

6. Solaris

Very slow decrypt

Hi Folks, Currently restoring some data that has been encrypted using the naitive Solaris encrypt/decrypt commands. Taking ages, anyone used these before and are they usually really slow? Thanks Rgrds Martin (3 Replies)
Discussion started by: callmebob
3 Replies

7. Shell Programming and Scripting

Bash Script to decrypt encrypt log and archive

Hi Please see if you have come across any aprts of this. I can read, integrate and syntehsixe. Any help you could offer me would be super. thanks in advance! Good day. Thank you for your response in this matter. Here are some further details: 1) scripting is to be in BASH... (1 Reply)
Discussion started by: cdc01
1 Replies

8. Shell Programming and Scripting

Read user input, Encrypt the data and write to file

Hi, can some one help me how to encrypt and decrypt a file. AIM: reade user input, encrypt it and save it to file. while decryption read the encrypted file decrypt it and save the output in some variable. Example: consider we have Credentials.txt file with content username: password... (5 Replies)
Discussion started by: saichand1985
5 Replies

9. Shell Programming and Scripting

"unwrap a sequence"

Hi i have a list of random events from 1 to 20.000 imagine that , while collecting events, it arrives at 20.000 and then it wraps from the beginning. Is there a way to "unwrap"all sequences from the beginning? For example to have a linear result in time.(not divided each time for "sets" of... (8 Replies)
Discussion started by: Board27
8 Replies