blib/lib/Paws/ACMPCA/KeyUsage.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ACMPCA::KeyUsage;
3 use Moose;
4 has CRLSign => (is => 'ro', isa => 'Bool');
5 has DataEncipherment => (is => 'ro', isa => 'Bool');
6 has DecipherOnly => (is => 'ro', isa => 'Bool');
7 has DigitalSignature => (is => 'ro', isa => 'Bool');
8 has EncipherOnly => (is => 'ro', isa => 'Bool');
9 has KeyAgreement => (is => 'ro', isa => 'Bool');
10 has KeyCertSign => (is => 'ro', isa => 'Bool');
11 has KeyEncipherment => (is => 'ro', isa => 'Bool');
12 has NonRepudiation => (is => 'ro', isa => 'Bool');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ACMPCA::KeyUsage
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::ACMPCA::KeyUsage object:
32  
33 $service_obj->Method(Att1 => { CRLSign => $value, ..., NonRepudiation => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::ACMPCA::KeyUsage object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->CRLSign
41  
42 =head1 DESCRIPTION
43  
44 Defines one or more purposes for which the key contained in the
45 certificate can be used. Default value for each option is false.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 CRLSign => Bool
51  
52 Key can be used to sign CRLs.
53  
54  
55 =head2 DataEncipherment => Bool
56  
57 Key can be used to decipher data.
58  
59  
60 =head2 DecipherOnly => Bool
61  
62 Key can be used only to decipher data.
63  
64  
65 =head2 DigitalSignature => Bool
66  
67 Key can be used for digital signing.
68  
69  
70 =head2 EncipherOnly => Bool
71  
72 Key can be used only to encipher data.
73  
74  
75 =head2 KeyAgreement => Bool
76  
77 Key can be used in a key-agreement protocol.
78  
79  
80 =head2 KeyCertSign => Bool
81  
82 Key can be used to sign certificates.
83  
84  
85 =head2 KeyEncipherment => Bool
86  
87 Key can be used to encipher data.
88  
89  
90 =head2 NonRepudiation => Bool
91  
92 Key can be used for non-repudiation.
93  
94  
95  
96 =head1 SEE ALSO
97  
98 This class forms part of L<Paws>, describing an object used in L<Paws::ACMPCA>
99  
100 =head1 BUGS and CONTRIBUTIONS
101  
102 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
103  
104 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
105  
106 =cut
107