| Modifier and Type | Field and Description |
|---|---|
static Pattern |
CVSSv2_PATTERN |
static Pattern |
CVSSv2_PATTERN_TEMPORAL |
static Pattern |
CVSSv3_1_PATTERN |
static Pattern |
CVSSv3_PATTERN |
static Pattern |
CVSSv3_PATTERN_TEMPORAL |
static String |
V2_PATTERN |
static String |
V2_TEMPORAL |
static String |
V3_1_ENVIRONMENTAL |
static String |
V3_PATTERN |
static String |
V3_TEMPORAL |
| Modifier and Type | Method and Description |
|---|---|
Score |
calculateScore()
Calculates a CVSS score.
|
static void |
fillV3TemporalValues(Matcher v3TemporalMatcher,
char[] vectorChars,
CvssV3 cvssV3) |
static Cvss |
fromVector(String vector)
A factory method which accepts a String representation of a
CVSS vector, determines which CVSS version it is, and returns
the corresponding CVSS object.
|
static CvssV2 |
getCvssV2BaseVector(Matcher st,
char[] array) |
static CvssV3_1 |
getCvssV3_1BaseVector(Matcher st,
char[] array) |
static CvssV3 |
getCvssV3BaseVector(Matcher st,
char[] array) |
String |
getVector()
Returns the CVSS vector
|
static final String V2_PATTERN
static final String V2_TEMPORAL
static final String V3_PATTERN
static final String V3_TEMPORAL
static final String V3_1_ENVIRONMENTAL
static final Pattern CVSSv2_PATTERN
static final Pattern CVSSv2_PATTERN_TEMPORAL
static final Pattern CVSSv3_PATTERN
static final Pattern CVSSv3_PATTERN_TEMPORAL
static final Pattern CVSSv3_1_PATTERN
static Cvss fromVector(String vector)
vector - the CVSS vector to parsestatic void fillV3TemporalValues(Matcher v3TemporalMatcher, char[] vectorChars, CvssV3 cvssV3)
Score calculateScore()
String getVector()
Copyright © 2017–2023. All rights reserved.