Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CRR(3)		      User Contributed Perl Documentation		CRR(3)

NAME
       OpenCA::CRR - Perl extention to handle CRR objects.

SYNOPSIS
	 use OpenCA::CRR;

DESCRIPTION
       This class handles CRR (Certificate Revoking Request) objects. Them can
       be signed or not	depending on the implementation. CRR objects begin and
       end with	boundaries:

	       -----BEGIN CRR-----
	       -----END	CRR-----

       Currently implemented functions are:

	       new	    - Creates a	new instance of	the class.
	       getParsed    - Returns a	parsed version of the object.
	       getSignature - Returns the signature (if	present).
	       getBody	    - Get Signed Text (boundaries included).
	       getCRR	    - Returns passed CRR (sig. incl.).

FUNCTIONS
   sub new () -	Creates	a new instance of the class.
	       This function creates a new instance of the class. You have
	       to provide a valid CRR data as argument.

	       EXAMPLE:

		       my $CRR = new OpenCA::CRR( $crrData );

   sub getParsed () - Returns a	parsed CRR.
	       This function returns a parsed CRR as an	HASH object. The
	       returned	object has the following structure:

		       my $ret = {
			   SUBMIT_DATE => $date,
			   BODY	=> $body,
			   SIGNATURE =>	$signature,
			   CERTIFICATE_DN => $dn,
			   CERTIFICATE_NOT_BEFORE => $notbefore,
			   CERTIFICATE_NOT_AFTER => $notafter,
			   CERTIFICATE_SERIAL => $serial,
			   CERTIFICATE_ISSUER => $issuer,
		       };

   sub getSignature() -	Returns	signature.
	       Use this	function to retrieve the signature. Remember the
	       signature is intended to	be PKCS7 and returned value includes
	       boundaries.

	       EXAMPLE:

		       print $CRR->getSignature();

AUTHOR
       Massimiliano Pala <madwolf@openca.org>

SEE ALSO
       perl(1).

perl v5.32.0			  2000-04-25				CRR(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenCA::CRR&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help