| Modifier and Type | Class and Description |
|---|---|
static class |
CvssV2.AttackComplexity |
static class |
CvssV2.AttackVector |
static class |
CvssV2.Authentication |
static class |
CvssV2.CIA |
CVSSv2_PATTERN, CVSSv3_PATTERN| Constructor and Description |
|---|
CvssV2() |
| Modifier and Type | Method and Description |
|---|---|
CvssV2 |
attackComplexity(CvssV2.AttackComplexity ac) |
CvssV2 |
attackVector(CvssV2.AttackVector av) |
CvssV2 |
authentication(CvssV2.Authentication au) |
CvssV2 |
availability(CvssV2.CIA a) |
Score |
calculateScore()
Calculates a CVSS score.
|
CvssV2 |
confidentiality(CvssV2.CIA c) |
String |
getVector()
Returns the CVSS vector
|
CvssV2 |
integrity(CvssV2.CIA i) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromVectorpublic CvssV2 attackVector(CvssV2.AttackVector av)
public CvssV2 attackComplexity(CvssV2.AttackComplexity ac)
public CvssV2 authentication(CvssV2.Authentication au)
public CvssV2 confidentiality(CvssV2.CIA c)
public CvssV2 integrity(CvssV2.CIA i)
public CvssV2 availability(CvssV2.CIA a)
public Score calculateScore()
calculateScore in interface Cvsspublic String getVector()
Copyright © 2017. All rights reserved.